PowerFour
Reference
Functions
_powerFour
function _powerFour(string result, uint256 pnOne, uint256 pnTwo, uint256 pnThree, uint256 pnFour, address playerAddress) internal
Internal core logic of the PowerFour game.
- Parameters:
result
- stringpnOne
- uint256pnTwo
- uint256pnThree
- uint256pnFour
- uint256playerAddress
- address
makePowerFourBid
function makePowerFourBid(uint256 numberOne, uint256 numberTwo, uint256 numberThree, uint256 numberFour) public payable
Makes the bid to the PowerFour game.
- Modifiers:
- isHuman isActivated
- Parameters:
numberOne
- uint256numberTwo
- uint256numberThree
- uint256numberFour
- uint256