moses297/doom-on-google-sheets: Contribute to moses297/doom-on-google-sheets development by creating an account on GitHub.

github.com · 2026-07-24 · by Long Nguyen ·github
Contribute to moses297/doom-on-google-sheets development by creating an account on GitHub.

moses297/doom-on-google-sheets

Contribute to moses297/doom-on-google-sheets development by creating an account on GitHub.

82 stars · 4 forks · 3 watchers

README

DOOM on Google Sheets This project runs the classic DOOM game inside a Google Sheets document using Google Apps Script and JavaScript. The game is rendered frame-by-frame by updating the background colors of spreadsheet cells. Features

Runs DOOM inside Google Sheets. Captures frames from the game and renders them as colored spreadsheet cells. Updates only changed cells to optimize performance. Uses js-dos to emulate the DOS version of DOOM.

How It Works

JavaScript Rendering: The HTML file loads DOOM using js-dos and captures frames at a reduced resolution (120x80). Frame Processing: The script detects changed pixels and queues updates. Google Sheets Updates: The Code.gs script updates the spreadsheet with new colors.

Setup Instructions

Open a new Google Sheets document. Go to Extensions > Apps Script. Replace Code.gs with the provided script. Add a new file named Index.html and paste the provided HTML code. Save and refresh the spreadsheet. Click DOOM > Launch DOOM in the Google Sheets menu. Adjust the sheet grid to 120 columns × 80 rows.

Known Issues

Performance is very slow: Updating the sheet cell-by-cell is inefficient. Manual Grid Setup: The user must set the correct spreadsheet size manually. Limited Colors: Google Sheets does not support true color rendering.

Try It Yourself Instead of setting it up manually, you can try a pre-configured version here: DOOM on Google Sheets (Live) Demo Video Watch a demonstration of DOOM running on Google Sheets:

Enjoy retro gaming in an unusual place!

source

github.com · 1 images · 91 links

Comments (0)

No comments yet