Introduction to Game Development with Java

Learn the basics of Java programming language to build software. Students will use variables, expressions, flow control, loops, array, reading from a file, write to a file and more to develop simple games, such as, jackpot, guess my word, tic-tac-toe, hangman and more! This is an excellent introductory course for students planning to take AP Computer Science, wanting to develop software or simple games.

Prerequisite

  • Computer Basic or equivalent

Learning Objectives

  • Introduce the modern programming concepts and other design methodologies using Java
  • Discuss the concepts of good software design and methods.
  • Design programs using object oriented problem solving techniques.
  • Use the concepts of different types of structured programming.
  • Learn to use flowchart and pseudo-code to decompose a complex problem.
  • Develop algorithms using different methods.
  • Develop software using various programming techniques.

Topics

  • Introduction to Java
  • Setting up Java Environment
  • Writing Java Code
  • Compiling and running Java Program
  • Rules for writing Java Code
  • Header
  • Comments
  • Warning Messages
  • Beginning of the program
  • Defining Variable
  • Introduction to Flow Chart
  • Examples of Flowcharting
  • Simple and Complex Statement
  • Variable
  • Data Types
  • Expression
  • Numerical Variable
  • Mathematical Operators
  • Assignment Operators
  • Escape Sequence
  • Relational Operation
  • Logical Operators & Expression
  • If statement (If, If … else .. , If … else if …else … )
  • The Conditional Operator “? … :”
  • The keyword “switch”
  • For Statement
  • The Comma Operator
  • The while statement
  • The do while statement
  • The break Command
  • The continue Command
  • Creating an Array
  • Defining an Array Dimension
  • Assigning a value to an array element
  • Modifying the value in an array

Assumptions

  • The course assumes that the learner is familiar with Internet and Windows. The student should have the basic knowledge of starting an application, managing Folder and files and browsing Internet for information.
  • This course depends on the student’s commitment to work in class and, if necessary, to work independently at his/her own time on project assigned to them that will require access to the computer.

Learning Resources and Tools

  • The course consists of 10 units of study. The work load of each unit varies and each unit consists of the following:
    • Lecture: The Lecture consist of notes that can used by students as a reference material.
    • Hand-on Projects: To help students apply the concepts learnt during the lecture.
    • Exercises: The file consists of hands-on exercises for student to apply the concepts learnt during the class.
    • Quiz: The quiz allows the student to further validate their learning.

Technical Requirements

  • An access to a computer and internet