I made 111 one-button mini-games in 2021. I also made other games besides one-button games, so the exact number of games I made in 2021 would be 139.
For making many games in one year, I would need to create one game in about 2 or 3 days. For creating mini-games in a short period, it is better to make regulations of what to make and how to make it. In 2021, I started creating a game with the following regulations.
- Aim to make a game that we can easily play in a browser, like a dinosaur jumping game on Chrome.
- Controls should be limited to three types that are easy to operate on a smartphone: one-button, sliding left and right, and tapping a specific position on the screen.
- The game should be a traditional game where the player only tries to get a high score.
- The maximum duration of a game is about 5 minutes, and the game becomes difficult gradually to induce players to make mistakes.
- Increasing the difficulty is done by increasing the game speed. Even if a player makes a mistake due to an increase in game speed, players are unlikely to feel that it is unreasonable.
- The code should be written in a single JavaScript file, with a size of 100 to 300 lines.
- The basic screen size is 100x100 dots, with characters as small as 6x6 dots, making it easier to create pixel art.
- Simplify the implementation of drawing the screen by limiting the objects to be drawn to only squares, lines, circles, and particles except for pixel art.
- Provide a mechanism to play the game from GitHub Pages by simply committing the code to GitHub.
- Automatically generate background music and sound effects to reduce the time and effort required to create them.
- Prepare my own game library with the above mechanisms.
abagames / crisp-game-lib
Minimal JavaScript library for creating classic arcade-like mini-games running in the browser
crisp-game-lib
English | 日本語
crisp-game-lib
is a JavaScript library for creating browser games quickly and easily.
Getting started
-
Download docs/getting_started/index.html.
-
Open
index.html
in a text editor and write the code of your game in the<script>
element. -
Open
index.html
in a browser and play the game. -
You can publish the game by putting
index.html
on your web server.
Write your own game (with the help of IntelliSense and Live Reload)
-
Clone or download this repository.
-
npm install
-
Copy the
docs/_template
directory and rename it todocs/[your own game name]
. -
Open
docs/[your own game name]/main.js
with the editor (VSCode is recommended) and write your own game code. -
npm run watch_games
-
Open the URL
http://localhost:4000?[your own game name]
with a browser to play the game. The page is live-reloaded when the code…
- Prepare a mechanism to take screenshots easily. After the implementation of the game is complete, post screenshots on Twitter along with the URL where we can play the game.
If you continue to create the game under the above regulations, you can mechanically go from coding to release in a short period.
The problem is to come up with ideas before coding, and this is the only thing that is difficult to formulate.
One way is to use a game idea slot machine, but this has the disadvantage of limiting the number of ideas you can come up with. We need to continue to think about the patterning of game ideation. Following a pattern even in idea generation runs the risk of losing the most enjoyable part of game creation, so it might be better to consider whether it is necessary in the first place.
Top comments (12)
If you put them all together in a "999 in 1 game console" app, would be really nice and fun!
At least this one won't be fake 😜🤣
Really good advice. I found myself how much time you can spend looking for graphics when implementing a klondike solitaire game. Using simple pixel art graphics might save so much time.
this is really cool! I like how each of the games are unique in their own way. You could probably take any one of them, add more mechanics and could make a full game $$
Very cool.
I expected this to be more like, "I created one game and changed the graphics a bunch of times" :)
Wow, that's very awesome
Seriously impressed well done.
Glad I came across this.
Awesome
Pure Greatness
What programming language you were using to make those games?
"The code should be written in a single JavaScript file, with a size of 100 to 300 lines."