PONG GAME
Pong Game
The project is presented by using Python. The game designed is set to be controlled by two players, one for the left-hand side and another one for the right-hand side. When the game start, left-hand side player can control the paddle by using W-S key while right-hand side player can control the paddle by using up down key. Then, one mark will be recorded above the winner's pedal. The match will continue until the players restart a new game.
This project is completed by using Python. Therefore, it is necessary to download the Python software in the PC. On the other hand, The game require two players to operate. The main purpose of the project is to provide a platform to strengthen knowledge on Python and immerse it in real life. In the python coding, the subject 'class' is used. The coding contains a total of 4 classes, which are 'paddle', 'ball', 'PlayerScore' and 'CollisionManager'. Every classes built is to create and manage certain part of the project.
The name 'Pong' is used to start a new profile for the coding. The width and height of the display screen is set as well as the color of the screen. The line in the middle of the screen is created in the same function containing the color of the screen. A small ball is created in the middle of the middle line. The radius of the ball can be adjusted.
The paddle created is in rectangular shape with certain width and height. The color of the paddle is set to be white as the screen is black. The place of the paddle is fixed in the middle of the left and right side of the screen.
The game is set to be started when the letter 'P' in the keyboard is pressed. The ball stops and reflects when hits either one of the paddle. When the ball goes to infinity to any side, the opposite side will get one mark and the ball will go back to the middle
About Us
Robotics Club USM, is a gathering/club that provide a platform for students who are interested to learn, research, and development about robot. In USM, Robotics Club is a club which is under the supervision of School of Electrical and Electronic Engineering. However, the club also consists of members from various schools for instance School of Mechanical Engineering, School of Chemical Engineering and etc. Basically this club is one of the clubs wholly organized by students where lecturers act as managers.
Recently, USM Robotics Club mainly focuses on Research and Development (R&D) to develop new technology to apply in the robotics for solving some specific tasks. By having R&D department, we manage to improve our technology level to get a better performance for our robots.
Hopefully with these skills and knowledge our members gain from here, they can develop a new and useful technology to have a better life for human-being in future.
