Higher Nationals in Engineering

Overview - Unit 112: Computer Programming Techniques

This week will focus on starting the Game and setting up the first level of the game

Learning Outcomes

  1. Be able to use modularisation appropriate to the chosen programming language
  2. Be able to design and develop code using structured programming methods

Assessments

  1. 29/Jun/2016 Assessment A112.3: Software Testing Final

Week 6 Lesson Activities - startGame() (25-May-2016)

  1. 5 min Demonstrate creating a new Greenfoot Scenario
  2. 5 min Demonstrate exporting Java classes from Visual Paradigm into Greenfoot (you may need to restart Greenfoot)
  3. 20 min Demonstrate using Git Extensions to create a new Git Repository based on the Greenfoot Scenario
    • Edit gitignore (*.ctxt, *.class, project.greenfoot)
    • Stage all the java files
    • Commit the changes and add message
  4. 5 min Demonstrate creating a remote Git repository in bitbucket.org and share it with tutor and team members
  5. 20 min Demonstrate using Git Version control to clone, commit, push and pull. , you need to add a blank project.greenfoot to your cloned greenfoot project before it will open in Greenfoot.
  6. 30 min Create a startGame() screen from which the player can view the game instructions

Week 6 Lesson 2 Activities - setupLevel() (25-May-2016)

  1. 30 min Add a MessageBox class and use it to show the game instructions
  2. 30 min Refactor a MessageBoard class , an illustration of D2
  3. 30 min Demonstration of populating the world with game objects using random numbers setupRandomLevel()

Useful Resources

Lesson Index