 What is the game about?  Looking into the algorithm  Looking into the code  Complexity and conclusions.

Slides:



Advertisements
Similar presentations
Chapter 18 Building the user interface. This chapter discusses n Javas graphical user interface. n Swing: an enhancement of a library called the Abstract.
Advertisements

Additional Programming Concepts MVRT 2011 – 2012 Season.
Microsoft® Small Basic
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
Microsoft® Small Basic
Integer Tic Tac Toe Let’s Begin Rules: 1.Erase all x’s and o’s from the previous game before you begin. 2.Decide which player will be x’s and which will.
Probability theory and average-case complexity. Review of probability theory.
Index Values NATIONAL STATISTICAL COORDINATION BOARD.
Sorting Algorithms Selection, Bubble, Insertion and Radix Sort.
STRATEGO ® By Kevin Braun & Dylan Brandtner. Game Overview STRATEGO is a grid-based 10 x 10 board game featuring two opposing armies of 40 pieces. STRATEGO.
1 11/27/06CS150 Introduction to Computer Science 1 Searching Arrays.
Explore the Dreamweaver Workspace View a Web page and use Help Plan and Define a Web site Add a Folder and Pages, and set the Home page Create and View.
CS70 L23 Hashing (1)Dan Garcia © UCB Dan Garcia ( inst.eecs.berkeley.edu/~cs70/ 1 Handout: notes Computer Science.
Information Technology Center Hany Abdelwahab Computer Specialist.
Searching Arrays Linear search Binary search small arrays
© 2007 Ray S. Babcock Tracks Game is played on a (nxn) set of squares. There are three possible moves (labeled A,B,C). Players alternate making a move.
Hash Tables. Container of elements where each element has an associated key Each key is mapped to a value that determines the table cell where element.
Hash Tables. Container of elements where each element has an associated key Each key is mapped to a value that determines the table cell where element.
© The McGraw-Hill Companies, 2006 Chapter 16 Two-dimensional arrays.
THE BASICS OF THE WEB Davison Web Design. Introduction to the Web Main Ideas The Internet is a worldwide network of hardware. The World Wide Web is part.
Chapter 3 Working with Symbols and Interactivity.
DATA STRUCTURE AND ALGORITHM PROJECT Fall2011 Group Members: Asma Rafi BS-3 Fatima Saleem BS-3.
Date Submission: January 29, 2011 Submitted by: Syeda Khushbakth Rizvi Syed Hasan Asghar Submitted to: Ms. Quratul-Ain Nizam-ud-din Rajput DATA STRUCTURES.
CSCE 2100: Computing Foundations 1 Probability Theory Tamara Schneider Summer 2013.
Buck Rogers: Battle for the 25 th Century Presented by Josh Fern of the Turn Based Strategy Game Group of the Turn Based Strategy Game Group.
Java for Beginners University Greenwich Computing At School DASCO
Dreamweaver – Dreamweaver Extras Web Design Section 8-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
ZOMBIE MADNESS! Jack Smith Steve Mander-Jones OUTLINE > GAME OVERVIEW > IMPLEMENTATION > AI FEATURES > CONCLUSION.
Visual Basic .NET BASICS
Developing the Game User Interface (UI) Lesson 5.
Flash & JavaScript Mariela Hristova October 19, 2004 INF 385E – Fall 2004 – School of Information.
FLTK Help Session By Richard Yu Gu CS 638 -Graphics Fall, 1999.
Hash Tables.
Collections. The Plan ● Why use collections? ● What collections are available? ● How are the collections different? ● Examples ● Practice.
2 Digit Divisors. 3,521 ÷ 26 = = 26 x = 26 x 3 Click the squirrel for a video on repeated multiplication.
7 1 User-Defined Functions CGI/Perl Programming By Diane Zak.
CS324e - Elements of Graphics and Visualization Java GUIs - Event Handling.
Chapter 11 Hash Tables © John Urrutia 2014, All Rights Reserved1.
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik.
SpaceChemistryWDYAKGeneticsWaterPSSA Vocab $ $ $ $ $ $ $ $ $ $ $ $ $ $
Computer Programming I Module This lesson illustrates how to code for arrays used to store data and how to display your data in listboxes.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Trojan Rabbits. (10/31) Functional minimum: Tile/Grid-based Game "Engine" (Shaun & Michael) Game Objects Created (Timothy) User Interaction Movement (Yan)
Course Code #IDCGRF001-A 5.1: Searching and sorting concepts Programming Techniques.
Programming games in Visual Basic Review programming & VB topics Insertion sort. Best times. Generate questions & answer patterns for quiz Lab/Homework:
CS130 Visual Basic Project 4 Lecture Fall New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Victoria Manning. My Game Instructions: Pick a playing piece from the recycled materials. The players will go in order from youngest to oldest (youngest.
Arrays.
CS320n – Elements of Visual Programming Assignment Help Session.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
Virtual Navigation of Multimedia Maps A versatile map generator and viewer Virtual Navigation of Multimedia Maps A versatile map generator and viewer Robert.
AD 206 Intermediate CG : School of Art and Design : University of Illinois at Chicago : Spring 2009 Intro to Action Script 5 "The games of a people reveal.
 Introduction to Search Algorithms  Linear Search  Binary Search 9-2.
Phase 1: The Games Industry Write down 3 words that you associate with this picture. Place them on the thought wall.
CSCI 6962: Server-side Desig n and Programming ASP Server Controls.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
Java for Beginners Level 6 University Greenwich Computing At School
Using Base Ten Blocks to Make Numbers to 100
Lightboard Template.
Mike Burnham CS 470 Final Presentation

File Upload.
Java for Beginners University Greenwich Computing At School DASCO
Zhen Jiang West Chester University
Created by _____ & _____
Structure diagrams for lab 13
Step 1 (on your own) Write at least 25 review questions about geology, astronomy, meteorology, OR oceanography.
Color Box Button - Gray Type : object Type : object Type : object
Coding to Create 100+ Visualizations with the click of a button
Presentation transcript:

 What is the game about?  Looking into the algorithm  Looking into the code  Complexity and conclusions

 Board game  2-4 players and requires a dice  Objective of the game?

 We divided the algorithm into 4 parts › Game configuration › Lojtar Ushtar › Game control panel › Graphics

 index = f(key, array_size) We create a hash map with keys name of the colors and the value of the colors. Complexity of the creation of this hash is O(n).

 We have created functions that get the colors and the coordinates of the boxes.  These functions are trivial and don’t effect the complexity.

 We initialize an array named Ushtaret with 4 elements. for(int i=0; i<4; i++){ ushtaret [i]=new Ushtar(GameConfig.getInstance().getColor(index),index);  We also create a function to see if a player has soldiers in the game: for(int i=0; i<4; i++){ if (ushtaret[i].isSelectable() && ushtaret[i].getIndex()>=0) return true;

 In this file we also have the functions to get the number of soldiers  Set and get the goals and increase the goals

 The main functions are the ones that set and get the index value of the soldier position  Also it has some functions which don’t effect the complexity such as creating the soldier form and color

 This file has the functions that create the main game panel which contains the buttons, labels etc.  This is the part where the dice roll is created

 The graphics is divided in separate files which interact with each other.  Creates the main board where the game takes place