Sure, here's an example of a simple game using Three.js to create a flat shaded square animation. You can copy the code below into a single HTML file and run it in a browser.
When you run this code, you will see a flat shaded square rotating on the screen. You can modify the code to add more objects, change the colors, or make it interactive by adding controls for smartphone operation.