Skip to content

This website was created due to given assignment from the first year of web development module.

Notifications You must be signed in to change notification settings

armandokun/crown-website

Repository files navigation

crown-website

This website was created due to a given assignment from the first year of the web development module at Middlesex University.

Requirements

The website should have at least 4 pages:

  • An information page about how to play the game and any background information;
  • A game page where the actual game will be;
  • A user page that player can register and log in/out;
  • A ranking page showing the top players and their scores.

The game should be based on these conditions:

  • The type and theme of the game is open, but the player must interact the game by typing a command (not mouse or key press), which can be ‘answer A’ in a quiz game or more complex ones such as ‘move north by 3 and attack the knight’; then the game should respond by showing if the answer is correct or character movement and attack animation.

  • The game must be implemented in HTML, CSS, and JavaScript.

Getting Started

If you want to play a game, first you need to register an account, log in and you are ready to go.

Folders:

  • img - folder with artworks used in the website.
  • js - folder with JavaScript files used on the website.
  • php - folder with auto-generating head, header and footer.
  • ss - folder containing screen-shots of web pages for HTML Report used in the assignment submission.
  • styles - folder for CSS files.

Files:

  • game.php - real magic happens here. Once you set up, you can play the game here.
  • index.php - the first page once you open Crown.
  • rankings.php - file that helps you track your high-scores.
  • report-game.html - assignment required to write an HTML report about the game.
  • report.html - assignment required to write an HTML report about the website.
  • terms.php - wonderful speech by Harvard graduate acts like terms & conditions in this website.
  • user-register.php - page that contains user registration and links to login.
  • user.php - page that contains user login and links to registration.

Credits

Several projects aided in inspiring this project. Notably, they are:

  • Travian - I used the artworks from the Travian Games Company. All rights go to them.
  • Flappy Bird

About

This website was created due to given assignment from the first year of web development module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published