Bering Waters University Announces World’s First Solana Based AI Challenge

  1. Every program should implement a method accept_move(adversary_id: &Pubkey, command: number, row:number, col:number) -> u8.
  2. Commands are encoded the following way: 0 — START, 1 — SHOOT.
  3. If SHOOT is received: The command method returns a 0 if it is a MISS, or returns 1 if it is a HIT. If all ships are already destroyed, the method should return a 2 (END) and adversaryid program is considered the winner.
  4. Every program should implement a method makeMove(adversary_id: &Pubkey) which computes and makes the next move for a given adversary. For the first command, it should initiate a session with the START command. If the last result received was END, it must receive a START command argument to initiate a new game.
  5. Every program should implement a method check_id(id: &Pubkey) -> u8, which returns the result of the last executed move.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bering Waters Group

Bering Waters Group

Bering Waters Group specializes in blockchain projects with untapped potential. It comprises of three industry leading businesses-OTC Desk, Ventures, and Tech.