REPOSITORY OVERVIEWLive repository statistics
★ 1Stars
⑂ 0Forks
◯ 0Open issues
◉ 1Watchers
33/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
10 Community adoption25% weight
0 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
92 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Gravity
This is the backend service for the gravity-frontend.
Game Description
- This game is similar to the famous tic-tac-toe game, but has different rules, hence requires different strategy to win.
- At first you will be greated with 7*7 board.
- Two player will choose their symbols to fill up the cells of the board.
- There will be alternative turn for players to put their symbols on the board.
- Player with the turn will click on the cell to fill the cell with his/her choosen symbol.
- The game will be played according to following rules.
Rules
- The player who first fills 4 consecutive horizontal, vertical or diagonal cells will be the winner.
- No upper cell can be filled unless all the cell below the given cell (if present) is filled.
Site
Demo
API documentation
- Swagger UI can be accessed at
<URL>/swagger-ui/#/
- Where
URL can be http://localhost:8080 or https://gravity-q8e6.onrender.com
Local Dev Setup
- Fork and clone the repo.
- Make sure jdk11 is installed.
- Replace the content of
application.properties to spring.crossoriginallow.url=null, so that it can be tested from local using gravity-frontend.
Deployment
- Currently, it's deployed to render using docker.
- Make sure to reset the content of
application.properties back to spring.crossoriginallow.url=https://www.logigame.tk.
- Try to build the docker image locally.
docker build --platform linux/amd64 . -t gravity:latest
- Try to run locally using docker.
docker run -it -p 8080:8080 gravity.
- Raise PR against master branch. Code in master branch should auto deploy to render.