0% found this document useful (0 votes)
167 views

NIT3213 Assignment 1

This document outlines an assignment for a mobile application development course to build a simple Pong game using the Kivy framework. Students must form groups of 2 and develop the game application with specific requirements. The application must include creating classes to define the game and app, adding graphics and a ball widget, animating the ball movement, and connecting input events. Students must submit documentation including a readme file, class descriptions and method comments, screenshots of outputs, and the source code package. The assignment will be evaluated based on the documentation, source code quality, and in-person presentation.

Uploaded by

manjitha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views

NIT3213 Assignment 1

This document outlines an assignment for a mobile application development course to build a simple Pong game using the Kivy framework. Students must form groups of 2 and develop the game application with specific requirements. The application must include creating classes to define the game and app, adding graphics and a ball widget, animating the ball movement, and connecting input events. Students must submit documentation including a readme file, class descriptions and method comments, screenshots of outputs, and the source code package. The assignment will be evaluated based on the documentation, source code quality, and in-person presentation.

Uploaded by

manjitha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

NIT32113 Mobile Application Development

College of Engineering and Science

Assignment 1 –Building a Python Mobile Application using the Kivy Framework

Due Date: Week 8

This assignment will test your Python Mobile Application using the Kivy Framework
skills and is worth 10% of your overall unit mark.
This is a group assignment. You can form a team of 2 members.

Application Description

Develop a simple playable Pong Game using Kivy Framework. You suppose to draw the Pong
background and scores by defining how the Pong Game widget looks.
NIT3213 Mobile Application Development

College of Engineering and Science

Task Requirements

Perform the tasks given below

1. Getting Started - Create a directory for the game and a file named main.py and declare two classes
PongGame and PongApp
2. Add Simple Graphics - Creation of pong.kv – you can use a .kv file to define the look and feel of
the PongGame class. Since the App class is called PongApp, you can simply create a file called
pong.kv in the same directory that will be automatically loaded when the application is run. So
create a new file called “pong.kv” and the first block inside the <PongGame> rule is to have
a canvas block.
3. Add the Ball – Once the basic pong arena to play in was created, you can add the players and a ball
to hit around. Add a new PongBall class to create a widget that will be our ball and make it bounce
around.
4. Add Ball Animation – Once the ball is created, schedule functions on the Clock to make the ball to
be moved regularly.
5. Connect Input Events - Adding Players and reacting to touch input.
6. Reference – You can refer the following link for the source code.
https://kivy.org/doc/stable/tutorials/pong.html

Submission Requirements
What do you have to hand in?

1. Group Cover Sheet


2. An electronic copy of Readme.docx file with information on how to run your program. Include any
extra information about your design and program that you wish the marker to know.
3. A brief description of each class. At the start of each method, there should be a comment clearly
describing what the method does.
4. A word document with the evidence of trial runs of your program, i.e output after each module.
5. Complete source code that is packed in the zip folder.
NIT6120 Mobile Applications

College of Engineering and Science

Assignment 1
Student name: Student ID:

Marking Criteria Weight Marks Comments


Report (40%)
Readme doc file 10
Detailed description for all classes and methods 15
Screenshots of all the outputs 15
Source Code (40%)
Creation of all Python files 10
Design of all classes 10
Sufficient comments added 5
User experience of the designed views 5
Application works properly 10
Presentation (20%)

Presentation 10
Viva Voce 10
Total 100

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy