Esc closing window is by default in the raylib library unfortunately :| Also, yeah 4 days is quite a small time frame to make a game, especially if you are not using a game engine :p