Skip to content

Play Chess against the Stockfish engine using Phoenix Live View

Notifications You must be signed in to change notification settings

alecho/live_chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveChess

This is my entry in Phoenix Phrenzy, showing off what Phoenix and LiveView can do.

Live Chess preview

Play chess against the Stockfish 10 chess engine. This application uses Chex. I chess library and OTP application I wrote for the purpose of this app. Together they use Elixir Ports, OTP, UCI (Universal Chess Interface), Phoenix and Phoenix Live View to play chess live in a web browser.

Demo here

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Configure Chex to point to your Stockfish binary
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

Play Chess against the Stockfish engine using Phoenix Live View

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published