Skip to content

Eight Queens chess game. Can you place 8 queens on the board with none under attack? A web game inspired by the class math puzzle. Built in React with Chessboard.jsx

License

Notifications You must be signed in to change notification settings

attogram/EightQueens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eight Queens

All Contributors

Welcome to the Eight Queens chess game.

Can you place 8 Queens on the chess board, with none of the queens under attack?

A web game inspired by the classic math problem.

Play Now: https://attogram.github.io/EightQueens/

License

Eight Queens is an open source project licensed under the MIT License.

Developer Info

Contributions welcome!

The main Eight Queens Git repository is: https://github.com/attogram/EightQueens

Eight Queens is built with React, and bootstrapped with create-react-app.

Eight Queens uses Chessboard.jsx.

Pre-built version for deployment

The gh-pages branch contains a pre-built version of Eight Queens ready for deployment to your web server.

See: https://github.com/attogram/EightQueens/tree/gh-pages

Install dependencies

  • yarn or npm install

Build

  • yarn build or npm run build

This builds Eight Queens for production to the build folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Once built, Eight Queens is ready to be deployed to any web server!

Dev server

  • yarn start or npm start

Runs Eight Queens in the development mode.

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

Test watch

  • yarn test or npm test

Launches the test runner in the interactive watch mode.

Updating

  • yarn add react-scripts@latestnpm or npm install react-scripts@latest

Updates the internal react libraries.

Contributors

Thanks goes to these wonderful people (emoji key):

Attogram Project
Attogram Project

💻
Will
Will

💬 🤔
Tiago Serafim
Tiago Serafim

💬 🤔
cityseven
cityseven

🐛 💻

This project follows the all-contributors specification. Contributions of any kind welcome!