itch.io is community of indie game creators and players

Devlogs

Play solo against two (dumb) bots

A browser game made in HTML5

You can now test your mettle against a scary opponent : the God of Random.

Here is the whole code of the noob bot :

extends BotPlayer
class_name RandomBotPlayer
"""
A true random bot player.
Anyone can beat this.
"""
func choose_pawn_to_play(board:GameBoard):
    var pawns = board.get_pawns_with_possible_actions()
    return __pick_random_thing(pawns)
func choose_action_for_pawn(board:GameBoard, pawn:Pawn):
    var actions = board.get_possible_actions_for_pawn(pawn)
    return __pick_random_thing(actions)

Files

  • mu-html5.zip 53 MB
    Version 0.4.0
  • mu-0.4.0-linux64.tar.gz 53 MB
    Version 0.4.0
  • mu-win64.zip 53 MB
    Version 0.4.0
Download Mû
Leave a comment