Doom on Google Sheets

kamphey1 pts0 comments

GitHub - moses297/doom-on-google-sheets · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

moses297

doom-on-google-sheets

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star<br>82

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>4 Commits<br>4 Commits

Code.gs

Code.gs

Index.html

Index.html

README.md

README.md

View all files

Repository files navigation

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:<br>DOOM on Google Sheets (Live)

Demo Video

Watch a demonstration of DOOM running on Google Sheets:

Enjoy retro gaming in an unusual place!

About<br>No description, website, or topics provided.<br>Resources<br>Readme<br>Activity<br>Stars<br>82 stars<br>Watchers<br>3 watching<br>Forks<br>4 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

google doom sheets code search html

Related Articles