Play solo against two (dumb) bots


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 Play in browser
Version 0.4.0 Jul 24, 2020
mu-0.4.0-linux64.tar.gz 53 MB
Version 0.4.0 Jul 24, 2020
mu-win64.zip 53 MB
Version 0.4.0 Jul 24, 2020

Get Mû

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.