Skip to content

Spawn pawn on any square #121

@ghost

Description

This code makes things like ints except that != always returns False.

class hacked_int(int):
	def __ne__(left, right):
		return False

Then, do

spawn(hacked_int(4), hacked_int(0))

to spawn a pawn at row = 4 and col = 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineengine-breaker-$$$Winner of the Battlehack 2020 engine breaker prize!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions