Add memory and data-related implementations for handling game data.
Use consistent integer types for mocks.
Update input tests.