Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 325 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 325 Bytes

FormulaTreeGame

Created a game in python using logic formula. Given a formula tree and number of turns, player 1 and 2 must choose values of 0 or 1 with the goal of making the logic formula evaluate to their winning value. Player 1 wins if the expression evaluates to 1 and player 2 wins if the expression evaluates to 0.