├── ect.exe ├── index.zip ├── min.zip ├── .gitattributes ├── authors.txt ├── README.md ├── nes └── index.html ├── index.html └── min.html /ect.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xem/js13k-book/HEAD/ect.exe -------------------------------------------------------------------------------- /index.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xem/js13k-book/HEAD/index.zip -------------------------------------------------------------------------------- /min.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xem/js13k-book/HEAD/min.zip -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /authors.txt: -------------------------------------------------------------------------------- 1 | authors 2 | 3 | xem 4 | subzey 5 | p01 6 | aemkei 7 | veubeke 8 | xen_the 9 | justecorruptio 10 | damienallonsius 11 | nderscore 12 | ilesinge 13 | sqaxomonophonen 14 | benjamin_js 15 | fusselwurm 16 | parrotgeek1 17 | keithclark 18 | xaotic 19 | ETHproductions 20 | magna 21 | killedbyapixel 22 | jellyedwards -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This book is a compilation of 30 games & emulators golfed with the Codegolf Team and friends, since 2012, aside from js13k. 2 | 3 | Compiled in hommage to the authors: Subzey, p01, aemkei, veubeke, xen_the, justecorruptio, damienallonsius, nderscore, ilesinge, sqaxomonophonen, benjamin_js, fusselwurm, parrotgeek1, keithclark, xaotic, ETHproductions, magna, killedbyapixel, jellyedwards and me (xem) 4 | 5 | Each game has been regolfed / fixed / enhanced before being included here along with their source code. 6 | 7 | Rules: 8 | 9 | - MiniSweeper // https://github.com/xem/MiniSweeper 10 | A little Minesweeper clone 11 | Numbered cells indicate how many bombs are around it 12 | Click to clear a cell 13 | Right-click to flag a cell 14 | You win if all the bomb cells are flagged 15 | 16 | - Floppy Dragon (js1k entry) // https://github.com/xem/flappydragon 17 | Flappy Bird clone 18 | Click to make the dragon flap 19 | Pass as many obstacles as possible 20 | The hitbox is only around its head 21 | 22 | - PopTiles // https://github.com/xem/minipoptiles 23 | Click cells in ascending order 24 | Not super fun but it's based on a real mobile game 25 | 26 | - 2P Games (js1k entry) // https://github.com/codegolf/2Pgames 27 | A compilation of 4 games that are played turn-by-turn with the mouse 28 | * Tic Tac Toe (align 3 identical symbols to win) 29 | * Tic Tac Toe 3D (align 3 identical symbols to win, including across the 3 boards) 30 | * Connect 4 (align 4 identical symbols. The coins fall at the bottom) 31 | * Reversi (flip opponent's coins trapped between two of your coins. The player with the most coins win) 32 | 33 | - FlappyBraille // https://github.com/codegolf/miniFlappyBraille 34 | Micro Flappy bird clone (originally played in the address bar, but shown bigger here) 35 | Press up/down to move the bird vertically 36 | 37 | - Simon // https://github.com/xem/minisimon 38 | Remember the sequence of colors and sounds and replay it with Arrow keys 39 | 40 | - MMXLVIII // https://rawgit.com/veu/603535c10c8516de15cb/raw/4398ed74f2d24fff4648bbb2363526627b4cbd7c/MMXLVIII.html 41 | 2048 clone, play with Arrow keys 42 | Identical cells are added together, try to reach a total of 2048. 43 | 44 | - Ping // https://github.com/codegolf/ping 45 | A single-player Pong clone in ASCII art 46 | Play with Arrow keys 47 | 48 | - Pacman // https://github.com/codegolf/pac-man 49 | A Pac-Man mini clone in ASCII art 50 | Play with Arrow keys 51 | 52 | - Tetris // https://github.com/veu/mini-tetris 53 | A little Tetris clone 54 | Play with Arrow keys 55 | 56 | - iniColor // https://codepen.io/xem/pen/QEgGEW 57 | Click on the wrong color in each grid 58 | 59 | - Snake // https://github.com/xem/miniSnake 60 | A mini Snake clone 61 | Play with Arrow keys 62 | 63 | - Snake Lite // https://github.com/p01/snake 64 | A micro Snake clone in ASCII art 65 | Play with Arrow keys 66 | 67 | - Binary Tetris // https://gist.github.com/aemkei/1672254 68 | A micro Tetris clone in ASCII art 69 | Play with Arrow keys 70 | 71 | - flap // https://jsbin.com/flap/1/edit?html,output 72 | A micro Flappy Bird clone in ASCII art 73 | Press Up to flap 74 | 75 | - Run // https://github.com/codegolf/Runalakon 76 | An obstacle course 77 | Play with Up and Down 78 | 79 | - Can I Haz 1Karrot? (js1k entry) // https://github.com/xem/1karrot 80 | A magician's rabbit is lost in a jungle and needs to find its carrot 81 | Play with Arrow Keys 82 | 83 | - SN1KE (js1k entry) // https://github.com/xem/miniLOSSST 84 | A demake of the LOSSST js13k entry, including 50 puzzles 85 | Move the snake with Arrow Keys, skip level with Shift 86 | The goal is to match the pattern on the floor 87 | Puzzles 25-50 include a wrap area for more challenge 88 | 89 | - MiniTicTacToe // https://ethproductions.github.io/golf/tic-tac-toe/ 90 | A new micro Tic Tac Toe clone for 2 players 91 | Click a cell to set your symbol 92 | Align 3 symbols to win 93 | 94 | - SMB1-1k (js1k entry) // https://github.com/xem/js1k19/tree/gh-pages/SMB1-1k 95 | A demake of the world 1-1 of Super Mario Bros on NES 96 | Play with Arrow keys 97 | 98 | - SHIFT 2K20 (2KPlus Jam entry) // https://github.com/xem/2kplus20/ 99 | A demake of the original Shift flash game 100 | Play with Arrow keys. Return the world with Shift key 101 | 102 | - MiniWordle // https://github.com/xem/miniWordle/ 103 | A Wordle demake. 104 | You need to find a random word picked in a list of 52 words 105 | Write a 5-letter word in the field and press Enter to test it 106 | Green = good letter, Yellow = misplaced letter, Red = bad letter 107 | You have 6 attempts. If you lose, the solution appears in the field 108 | 109 | - Dino (Dwitter entry) // https://www.dwitter.net/d/20814 110 | A micro demake of the Chrome offline dino game 111 | Click to make the dino jump over cactii 112 | 113 | - Lights out (Dwitter entry) // https://www.dwitter.net/d/22102 114 | Click a lightbulb to toggle it and its 4 neighbours 115 | Can you turn all the lights off in less than 13 clicks? 116 | 117 | - MiniGameOfLife // https://github.com/xem/miniGameOfLife 118 | Our smallest Game of Life simulation (auto played) 119 | 120 | - Chip8 emulator // https://github.com/xem/chip8 121 | A full emulator for the Chip8 retro/fantasy console 122 | Collection of public domain roms: http://codegolf.github.io/js13kGamePak/ROM.zip 123 | Click the visual keyboard to play 124 | 125 | - NES emulator (WIP) // https://github.com/xem/jsnes-lite 126 | A work in progress NES emulator without sound 127 | Bring your own roms (commercial or homebrew) 128 | Only emulates the "Mapper 0" roms (<= 40kb) like Super Mario Bros, Donkey Kong, Galaga, Ice Climbers, etc. 129 | Play with X + C + Arrow Keys + Enter + Escape 130 | -------------------------------------------------------------------------------- /nes/index.html: -------------------------------------------------------------------------------- 1 |
Controls: arrows, X, C, Start, Esc
-------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /min.html: -------------------------------------------------------------------------------- 1 |