Yes, I coded everything by hand, It was around 1700 lines of code. Maybe it would be better to use a game engine, but I have tried Unity and did not like how it worked. I used 'JFrame' to actually make the window and used 'Canvas' to write to it. The code is somewhat messy, but I could give you the source if you wanted.