Home >Development Tools >git >GitHub project sharing: 10 open source online games that can be played with just one click

GitHub project sharing: 10 open source online games that can be played with just one click

青灯夜游
青灯夜游forward
2023-03-24 19:15:114835browse

This article summarizes 10 open source online games on GitHub, which can be played by clicking on them. Most of the games support playing on mobile phones, which is really cool!

GitHub project sharing: 10 open source online games that can be played with just one click

I wrote an article earlier and introduced 5 interesting and fun open source games. Although that article was recognized by the majority of readers at that time, there were also readers who Feedback: “These games look really interesting, but I don’t know how to install them and I’m worried if I can’t play them!” Readers’ needs are my direction. Instead of being “reasonable”, it’s better to just cut down the threshold, so I started planning to write a game. Article Click to open and you can play 's collection of open source games.

When looking for interesting online game open source projects, I found that although they are not as good as those PC games in terms of game quality and graphics, But they also have their own advantages, such as: No installation required, Easy to operate, Novel gameplay, Puzzle and relaxation, these games are basically You can play a game right away in your spare time (waiting for a meal, on the road, in a meeting?). The important thing is that because they run on the browser, most of the games can be played on mobile phones, which is really cool!

Today, I finally saved up 10 open source online games and share them all with you at once. HelloGitHub’s selected open source projects must have their own merits, let’s “watch and play” together!

1. Hextris (hexagonal Tetris)

Star number:2k|Programming language: JavaScript|Mobile version: Support

This is a fast-paced puzzle game inspired by Tetris. Hextris is basically played like Tetris, where you control the direction to eliminate falling blocks.

Players can rotate the hexagon through the Left/right direction keys so that the falling colored bars fall on the specified edge. The down direction key can speed up the falling speed. Clear blocks and earn points by connecting 3 or more blocks of the same color. Continuous eliminations are rewarded with points doubled. The game ends when the color block breaks through the dark gray hexagon.

Source code: github.com/Hextris/hex…

Address: hextris.io/

2. adarkroom (little dark room)

Star number: 6.3 k|Programming language: JavaScript|Mobile version: Not supported

An interesting text-only adventure game that supports Chinese. In the game, players collect materials, add buildings, make props, and weapons to experience an interesting adventure. If you like RPG games, this will definitely be your cup of tea.

The game is a bit boring in the early stage and you can only click Tim Chai. Students who have never played it are easily confused at first because it takes time to trigger the event. Click Tim after reading the scrolling text. Chai Wait patiently for 30 seconds, and a new event will be triggered, thus starting your adventure. The game will save game progress locally by default, and also supports importing/exporting archives.

Source code: github.com/doublespeak…

Address: adarkroom.doublespeakgames.com/? lang=zh_cn

3. lifeRestart (life restart simulator)

##Star Number: 9.6k|Programming language: JavaScript|Mobile version: Support

Speaking of online word games, we have to mention the open source game "Life Restart Simulator" that was particularly popular in the past two years.

In the game, players only need to select talents and assign initial attributes at the beginning, and then watch the years fly by, and their life will be over in the blink of an eye. If you are not satisfied, you can click to restart again You can start a new life. The game became popular due to its witty and humorous writing and unexpected ending. Now in addition to the above-mentioned classic mode gameplay, there is also a new celebrity mode to experience the life of a celebrity.

Source code: github.com/VickScarlet…

Address: liferestart.syaro.io/public /inde...

4, lila (chess)

Star number:12.9k|Programming language:Scala TypeScript|Mobile terminal:Support

This is a chess game that promises to be free forever and without ads. It supports Chinese. . This project is not just a chess game, but a platform for everything about chess. Because in addition to online battles, human-machine battles, friend battles, competitions, etc., it also has tutorials for learning chess, a community, and watching and live streaming.

Source code: github.com/lichess-org…

Address: lichess.org/zh

5. proxx (clear the black hole)

Star number: 1.2k|Programming language: JavaScript|Mobile version: Support

A game similar to minesweeper. The gameplay and rules are basically the same as minesweeper. Here we exclude unknowns Black hole behind the block.

You can choose the game difficulty at the beginning, set the width/height and the number of black holes. After the player clicks on an unknown block, a number or a black hole will appear. If it is a number, the number represents the number of black holes around it. For example, "1" means that there is a black hole behind the block around the number. If the black hole is clicked, the game will begin. Finish. The upper left corner shows the number of unknown blocks, the upper right corner shows the cost/optimal time, and the switch button below can switch to marking mode.

Source code: github.com/GoogleChrom…

Address: proxx.app/

6、react-tetris(Tetris)

Star number:7.4k |Programming language: TypeScript|Mobile version: Support

to reproduce the classic Tetris. This project uses the technology stack of React Redux Immutable. The reproduction level of this game can be called pixel level, which is not only reflected in the picture, but also in terms of smoothness, gameplay, sound effects and other aspects.

Source code: github.com/chvin/react…

Address: chvin.github.io /react-tetri…

7. Open-Golf (Mini Golf)

##Star number:1.6k|Programming language: C|Mobile version: Not supported

A golf game with a total of 20 levels. Although the graphics of the game are rough, I had a good time playing it. The highlights are the collision response and the interesting level design.

Source code:

github.com/mgerdes/Ope…

Address:

mgerdes.github.io /minigolf.ht…

8、pinball

Star Number: 1.9k|Programming language: Flutter|Mobile version: Not supported

This is a Google open source classic built using Flutter and Firebase Pinball game. There are operation prompts at the beginning: A (left filter)/S (serve)/B (right filter). The game is very exquisitely made.

Source code:

github.com/flutter/pin…

Address:

pinball.flutter.dev /

##9、chinese-dos-games(Chinese DOS games)

##Star Number

: 7.2k|

Programming language: Python|Mobile terminal: Support An online Chinese DOS game collection, currently supporting 1800 games.

Source code:

github.com/rwv/chinese…

Address: dos.zczc.cz /

10. Habitica(habits)

Star number

: 9.6 k|

Programming language: JavaScript|Mobile version: Support This is an open source application for cultivating habits, so why does it appear in the game collection? Because it treats your habit-building process as an RPG.

You need to create tasks that need to be completed in reality according to the set habits. When you complete a task, you will receive corresponding experience and gold coins. These things can be used to upgrade the level of your virtual character and purchase equipment. . But when the mission fails, the corresponding blood volume will be lost as punishment. As your level increases, more ways to play will be opened, such as: hatching pets, professions, exclusive skills, teaming up to play dungeons, etc.

Source code:

github.com/HabitRPG/ha…

Address: habitica.com/

at last

When writing this article, I found that a classic game will have many open source projects of the same type. For example, searching for "Tetris" on GitHub will find 50,000 open source projects, but it can be done as described in the article. "Hextris" and "react-tetris", there are very few open source projects of the same quality.

In fact, the functions are all the same, but the "things" unique to each project will not be achieved overnight. This requires continuous iteration and a lot of energy and time. Only then can the project stand out.

(Learning video sharing: Basic Programming Video)

The above is the detailed content of GitHub project sharing: 10 open source online games that can be played with just one click. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:juejin.cn. If there is any infringement, please contact admin@php.cn delete
Previous article:what is gitlabNext article:what is gitlab