Skip to content

Austinpayne/photon-chess-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Photon Chess Client

HTTP chess client for interfacing with chess REST server: https://github.com/Austinpayne/node-chess-js-server

Dependencies

Compiling

Because the photon chess client implements its own HTTP handling, the Spark system mode has been set to SEMI_AUTOMATIC (see: https://docs.particle.io/reference/firmware/core/#system-modes) and does not use the Particle Cloud. Therefore, the photon firmware should be manually updated after compiling. I do the following:

  1. git clone this repo and the dependencies above
  2. Turn the dependencies into private libraries (see: https://docs.particle.io/guide/tools-and-features/cli/core/#contributing-libraries)
  3. Compile using Particle Desktop IDE (see: https://docs.particle.io/guide/tools-and-features/dev/#getting-started)
  4. Install Particle CLI (see: https://docs.particle.io/guide/tools-and-features/cli/core/)
  5. Put Photon in DFU mode (see: https://docs.particle.io/guide/getting-started/modes/photon/#dfu-mode-device-firmware-upgrade-)
  6. Upgrade firmware using particle flash --usb <.bin-file-compiled-in-step-3>

Direct Control

By default, the chess client will try and join the first available game. To access direct control over the photon (and forward commands via seral to the stm32) connect to the photon serial, restart the photon, and press any key within the first 5 seconds of boot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages