A repo filled with 300 offline games that can each run on a single file. This is a good option if you are having internet connectivity issues, or you're at some place with restricted internet.
Usage: Under the Code button, select Download ZIP. It may take a while to download. After, extract the zip by right clicking on it and selecting Extract All. Now you have the repo containing the games all in a folder. You can also clone the repository using git.
The downside of inlining everything is the file size. If you're running the files via an online code editor, it's better to use single-file.html. It lets you fetch the files from the web or import your own.
Use a code editor like W3Schools or Codecademy, and paste the code of single-file.html. You can also download the single file and open in file://.
JSDELIVR blocked:
- Download the repository through your phone or another device (~10-30 minutes)
- Go to Google Drive and log in to the account tied to the Chromebook
- Import the zip file to Google Drive (~20 minutes)
- On your Chromebook, go to the Files app and look for the Google Drive tab.
- Search for the zip file, right click it and extract it.
- Go to the extracted folder, double-click each HTML file to open in file://
file:// also blocked:
- Use a code editor and paste the code of single-file.html or file-input.html. These allow you to import the HTML files you downloaded.
- Store the code in a Google Doc or something for later use.
Skip transferring by downloading from Dropbox:
Part 1
Part 2
Part 3