Skip to content

eubentof/100boxes

Repository files navigation

Usage

Those templates dependencies are maintained via pnpm via pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)

TODO's

  • Create the layout for the game
  • Implement the function to select the box
  • Implement the function to display the valid moves
  • Implement the function to check if is a win
  • Implement the function to check if it's game over
  • Implement the function to replay a winner game
  • List the scores made user by datetime
  • Revert the move by ctrl + click in the selected box
  • Load the winners from external source (API)
  • Save the scores in a external source (API)
  • Save the countries in database: https://api.first.org/data/v1/countries?limit=5000&pretty=true
  • Validate username length
  • Validate country
  • Add on menu the tips/tutorial
  • Add on menu the replay velocity control
  • Share on twitter after win a game
  • Load the winners by batch (if api returns empty, stop calling it)
  • Implement this: https://www.quora.com/Is-there-a-solution-for-the-100-Boxes-game?share=1

About

The game 100box developed in solidjs (ts)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published