Maarten Lamers > Webtechnology 2006 > lab assignment 1, JavaScript

Description

The idea of the assignment is that you write a simple game in JavaScript. You can use an existing game, such as Mastermind or Tic-tac-toe, but you may also come up with your own game idea. The goal of the assignment is to familiarize yourself with JavaScript in a web-browser environment. We do not expect you to turn in a JavaScript implementation of Doom, so keep it simple.

Grading of the assignment will be based on both coding quality and creativity in the implementation of your game (not so much on how it looks).
 

Requirements

  • Your game must show a minimal level of JavaScript sophistication and must contain graphic elements. Simple games are allowed. When in doubt, check with the lab assistant.
  • The result of your work must be demonstrated to the lab assistant. You must also hand in the JavaScript source code, and all other files that your solution requires (e.g. HTML code, css files, image files, etc). All source code (also HTML) must be clearly structured and readable for humans. Beware of this when you use a WYSIWYG editor for making HTML documents, for example, because they will destroy the layout of HTML code.
  • If you wish to use other supportive technologies, such as Java applets, they must serve a supportive role only. This may be necessary to achieve certain visual effects for example. Be aware that the assignment is to learn JavaScript, and treat it as such.
  • The result of your work need not work in all available web-browsers. Do mention in which browser you have tested the code, and which version it is. You can use Netscape Navigator version 4 or higher, or Internet Explorer version 5 or higher.

Organization and rules

  • The assignment must be done in teams of two students. If you think it is necessary to work with three, consult with the lab assistant before you begin for permission.
  • The due-date for this assignment is Tuesday, March 7 before 17:00h sharp.
  • The exact method of turning in your work will be made public through the student forum.
  • Delays in turning in your work will not be accepted, you will fail the assignment if you do.
  • Upon handing in your work the lab assistant will ask you to give a verbal explanation of your code. Our satisfaction with your explanation may affect the grading.
  • The assignment is graded on a PASS/FAIL basis.
  • When in doubt about what you should do: ask assistance.
  • Plagiarism, or copying of other people's work, is not allowed and will result in failing the complete course.

Lab assistance

Lab assistance is provided by Amalia Kallergi (e-mail: webtech2006@hotmail.com). Starting Tuesday February 21 assistance is available on Tuesdays from 14:00h - 17:00h in lab 408.
 

Tips