The University of Queensland Homepage
School of ITEE ITEE Main Website

 COMP2303/7306 Assignments
A plot of marks in each assignment can be found here.
Note that each assignment's marks have been sorted individually so the marks on a given vertical line won't necessarily come from the same student.

Assignment 4 (1.1)

The spec can be found here large print is here.
Do not attempt the assignment until you have done the following:
  1. Checked out a working copy of /ass4/trunk - if you are working on your own machine then checkout there. Tutors will not help with anything else until this is done.
  2. Written test programs which communicate over TCP (and exchange at least three lines of text.
  3. Written a test program which uses pthreads. (Keep these programs separate so you can use them for sanity checks later).
  4. Familiarised yourself with netcat (nc) in both client and server modes.
  5. Familiarised yourself with the debugging cheatsheet from the main page.
  6. Decided on an architecture (there are a number of valid ways to do the assignment but switching between them once you have started may be hard):
    • Client heavy - Most of the game logic is in the clients and the server simply passes messages between them.
    • Server heavy - Clients pass inputs to the server (possibly after doing some simple validation) and server does all the work.
    • Some combination of the two.
    When making this decision you need to think about what messages will be passed between clients and server.

A3 solution

A solution for Assignment 3 can be found at ~uqjfenw1/2303/a3soln.

Assignment 3

The spec can be found here large print is here
To test the version of octopus in your current directory use:
testa3.sh [testnum]

To test the version in your repository use:
reptesta3.sh

Assignment 2

The spec can be found here large print is here.

Assignment 1.3

The spec can be found here Large print is here.
See assignment pdf for changes.

Once you have a program which compiles, you can try it against the sample tests by typing:
~uqjfenw1/2303/testa1.sh
in the directory containing your binary on moss.
Your repositories can be accessed using the URL https://svn.itee.uq.edu.au/repo/comp2303-snum.
ITEE notes on svn can be found:
http://studenthelp.itee.uq.edu.au/faq#subversion and http://studenthelp.itee.uq.edu.au/faq/subversion
Please set up your repositories by running the following script:
~uqjfenw1/2303/reppop.sh 

You can test the code you have committed using this script:
~uqjfenw1/2303/reptesta1.sh