Hello everyone. So I have started learning OpenGL by my own and have decided to make something. So first thing I made is this simple Pong with no scores its just testing but you can easily add score using Entity class in entites package but everything else including moving around and simple collision detection works. Game is made inside Main which is located inside main package, every other class is a utility class to help make that game. Collision detection is located in a method named CPUupdate(); . I hope this can help others understand how they can use OpenGL to make simple 2D game. With that mini engine you can create other 2D games . I will for sure keep improving and I will make even more complex games and put them here.
Hopefully that helps someone!