Code Monkey home page Code Monkey logo

camelup's Introduction

Logo

Camel Up

Our Java program attempts to digitally emulate the popular board game Camel Up. In this repository, we will detail our process of care coordination to build this complex program. The instructions to the board game will be listed in the repository or the link following. Game Instructions

Graphics Board

Board

Organization

Schedule

Schedule

Task Manager

Click Up

Tools

We are using

Java
Eclipse IDE
IntelliJ IDEA
Atom IDE

camelup's People

Contributors

abhinavvarre avatar lilacstella avatar sarimaleem avatar xxmingfei77xx avatar

Watchers

 avatar

camelup's Issues

Mouse Hovering over tiles

@sarimaleem the implementation of detecting if the mouse is hovering over a tile can be implemented by recreating the track with an array of graphic tiles. Each GraphicTile will be a MouseListener and can detect if the mouse enters and leaves.

camel up layout

Here is the layout of the board

  • The Player will be drawn on the bottom left
  • the gamebet, legbet, and the dice rolled will be on the top left
  • the entire track including the pyramid will be on the right half

string loop in LegBetDock

there should be not loop that goes for string s: camelColors in the reset method since there are seperate stacks in the gamestate class

Drawing Camels

Change the background image on line 55
The output x & y coords are relative to the center of the image and are scaled based on the width and height of the original image
Check out Path2D in java

Graphic Methods

contains(x,y) and booleans
recreate game structure with graphic classes

bug in calculation of loser camel won method

codebashing branch --> gamestate --> won()
in the won() method the following code appears

for(Tile item : track)
			if(!item.empty())
				loser = item.getCamel().get(0);

however, there is no break statement after the condition is satisfied. Without a break statement, the lowest camel on the 15th tile will be the loser camel instead of the actual loser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.