Press the flag. After you get hit by a barrel press the flag to play again. At first, when it starts it does a little animation. Space to jump. Try getting the highest score to beat other scratcher's. The more barrels you jump the faster they get. There are also some bigger barrels. You can also tell your score at the bottom. There will be updates. Finally, have fun.
All of the coding by me. Thanks to @Funut for the stickman figure it goes very well with the project. Thanks to Nintendo for barrel sprites.Thanks, finally to the people who made PUBG for the music. Thanks for playing.