Skip to content

Java Snake játék a BME Programozás alapjai 3 tárgyához. Felépítés nélküli, 'from scratch' alapú. A java nyelv megismerése és alkalmazása volt a fő feladat.

Notifications You must be signed in to change notification settings

benedekkvcs/basics-of-programming3-java-hw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BME – Basics of Programming 3 – Java Homework Project

This project was created as the Java homework assignment for the Basics of Programming course at the Budapest University of Technology and Economics (BME).

Requirements

The goal of the homework was to practice the things learned in the subject. Therefore, the homework must covered the following topics:

  • Swing-based GUI
    • either a menu bar and one of the classes: JTable, JTree, JComboBox
    • or using low-level graphics routines (Graphics class)
  • Collections framework
  • File output and input using Java serialization
  • Unit tests (JUnit)

Project Description

This project is a Java-based Snake game developed as part of a university homework assignment. The goal was to meet the requirements of an introductory programming course, where object-oriented design, architecture, and advanced software engineering principles were not yet part of the curriculum. The focus was on basic Java programming, working with packages, handling resources, and creating a simple but functional graphical application.

Technologies Used

  • Java
  • AWT / Swing
  • JUnit

Usage

Before running the game from the terminal, make sure the out directory exists and that required resource files (fonts, audio) are copied there.

Steps:

  1. mkdir -p out - Create output directory
  2. xcopy res out /E /Y - Copy resource files
  3. javac -d out src/entity/*.java src/menu/*.java src/main/*.java - Compile the source code
  4. java -cp out main.Main - Run the game

About

Java Snake játék a BME Programozás alapjai 3 tárgyához. Felépítés nélküli, 'from scratch' alapú. A java nyelv megismerése és alkalmazása volt a fő feladat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages