GithubHelp home page GithubHelp logo

teaskittle / check-yourself Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11.46 MB

Java based chess puzzle game with mate in one problems

License: MIT License

Java 98.62% Shell 0.68% Batchfile 0.70%
chess-games fen-format fen

check-yourself's Introduction

queen Check Yourself

Check Yourself is a simple and minimalistic chess puzzle game where the player solves mate in one problems

start_screen game_screen

  • Designed for the casual player
  • Contains 98 problems for the players to solve
  • The player's progress persists throughout each launch, is reset after player reaches end of game
  • Majority of the puzzles are from actual chess games, mostly of grandmaster level
  • Uses the FEN chess notation format: FEN
  • Runs on MacOS (currently testing the windows version)

Install

To install on MacOS, run:

git clone https://github.com/TeaSkittle/ITEC_2905_Capstone
cd ITEC_2905_Capstone
sh Install.sh

To install on Windows, run:

# WARNING!
# Currently testing, does not work as of yet
git clone https://github.com/TeaSkittle/ITEC_2905_Capstone
cd ITEC_2905_Capstone
Install.bat

Gameplay

The game assumes you know the rules of chess and can read basic chess notation. You can find tutorials on these below, and don't worry chess is an easier game to learn than you think! Easy to learn, yet dificult to master.

In this game you will be asked to enter in a move as chess notation, and to have the sides seperated white pieces are all uppercase ( P N B R Q K ) and black pieces are lowercase ( p n b r q k ). Other than that it is just normal notation and chess, I hope you enjoy!

Adding Chess Problems

To add your own chess problems, simply take any board position in the FEN format and afterwards add a colon and the correct move, for example:

r1b1qr2/5pBp/2p1p3/p1PpP1R1/P2N1P1k/2P5/6PP/3n2K1 w - - 8 31

then add the correct move to the end (following a colon) :nf3

r1b1qr2/5pBp/2p1p3/p1PpP1R1/P2N1P1k/2P5/6PP/3n2K1 w - - 8 31:Nf3

Then add this string to file in the resources folder "Problems.txt", and now it has been added to the game. To play the problem find the linenumber where it was added ( Problems.txt ) and go to that problem number in the game.

Jumping to other puzzles

  • To go to a specific problem number, edit the int value to the problem number in src/resources/Current.txt and run Install.sh again

Credits

check-yourself's People

Contributors

teaskittle avatar

Watchers

 avatar  avatar

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.