Chess

master

A simple Chess game for iOS, written in Swift
nicklockwood/Chess

Travis Platforms Swift 5.2 License Twitter

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
  • Let user choose piece when pawn reaches other side instead of always promoting to a queen
  • Add speed and intelligence settings for AI
  • Detect draw conditions such as dead positions, insufficient material, repetition, etc
  • Standard openings

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Nov 29 2022 06:11:03 GMT-0500 (GMT-05:00)