Coder Social home page Coder Social logo

attogram / eightqueens Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 3.0 1.82 MB

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

Home Page: https://attogram.github.io/EightQueens/

License: MIT License

HTML 5.41% CSS 4.49% JavaScript 90.10%
eight-queens-puzzle eight-queen-problem eight-queens-game react-game webgame web-game chess-puzzle chess 8queens 8-queens

eightqueens's Introduction

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!

eightqueens's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eightqueens's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.