Free offline logic lessons — six single-file games + seven lessons, Uganda first
# Offline Game School
**Free, offline, runnable lessons in logic and computer thinking — built as
fun and retro games in plain JavaScript. No internet. No install. No cost.**
Open any game file in a browser (double-click the `.html`), and it just runs.
Every game is ONE self-contained file — no libraries, no downloads, no
accounts. This works on old laptops, cheap phones, and school computers that
have no network.
Built for kids and for people learning with little or nothing — starting with
the students and families supported by
RUN ANGELLA MATHEW CENTER UGANDA LTD
(kadondibetty) — a center in Uganda that pays tuition and school supplies for
orphans and vulnerable children.
## Why games?
You learn to think like a computer by building and playing with logic. Every
game here teaches a real computer-science idea, and every game can be opened
and changed by the learner. The code is the lesson.
| Game | File | What you learn |
|---|---|---|
| Guess the Number | `games/guess-the-number.html` | loops, if/else, binary search |
| Rock Paper Scissors | `games/rock-paper-scissors.html` | conditions, random, counters |
| Tic Tac Toe | `games/tic-tac-toe.html` | 2D arrays, win checking |
| Snake | `games/snake.html` | arrays, timers, collision, state |
| Mastermind | `games/mastermind.html` | logic deduction, feedback loops |
| Memory Match | `games/memory-match.html` | arrays, events, shuffle |
## How to use (offline, no internet)
1. Copy the `games/` folder to any computer or phone (a USB stick works).
2. Double-click a game file. It opens in the browser.
3. Play. Then open the file in a text editor (Notepad, or any editor) and
change one number — see what breaks and what changes.
4. Read the matching `lessons/` playbook for the idea behind the game and the
"make it yours" challenge.
Everything works on a school computer that has never seen the internet.
## The project-based path (like OSSU, but in one repo)
OSSU is a famous free self-taught computer-science curricu …