Modified the code a bit to make collisions a little bit more intuitive. The monkey should definitely be able to go into a 1 block tile between obstacles. Changed the size of the player a bit to fix that and it should be less of an issue :)
Thanks for the play :)