Skip to content

nicklockwood/Chess

Repository files navigation

Platforms Swift 5.2 License Mastodon

Screenshot

Swift Chess

This is a simple chess game for iPhone and iPad, designed for novice players.

It features a very simple AI that plays much like a beginner, looking only at the current state of the board and trying to either take an enemy piece or put them in check without immediately being taken.

You can choose between human vs human, human vs computer, or computer vs computer. Set both players to Computer to get a better sense of how it plays (spoiler: not well).

To-Do List

  • Persist the game state when the app is closed
  • Add speed and intelligence settings for AI
  • Detect draw conditions such as dead positions, insufficient material, repetition, etc
  • Standard openings
  • Add numbers and letters for the board
  • Revert move option
  • Set time for each player
  • Add different color option for the board such as green & yellow

About

A simple Chess game for iOS, written in Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages