Code Monkey home page Code Monkey logo

yaaen's Projects

2d-level-editor icon 2d-level-editor

A 2D level editor built to create levels for a mobile game called StuntSki.

ace-fighter icon ace-fighter

Ace Fighter was a game I developed during my college years between 2007 and 2009. It is a simple side-scrolling shooter developed entirely in java. To make development easier I also created a level editor and a cutscene editor. The code is very old and dated but it still works and it's pretty interesting and fun to play around with. Enjoy :).

activiti icon activiti

Activiti is a light-weight workflow and Business Process Management (BPM) Platform targeted at business people, developers and system admins. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. It's open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. It integrates perfectly with Spring, it is extremely lightweight and based on simple concepts.

adversarialsearch icon adversarialsearch

Web link <http://web.engr.illinois.edu/~slazebni/fall15/assignment2.html>. The goal of this part of the assignment is to implement an agent to play a simple "warfare" game. Rules of the game The game board is a 6x6 grid representing a city. Each square has a fixed point value between 1 and 99. There are two players, "blue" and "green". Each player takes turns: blue moves first, then green, then blue, etc. The object of the game is to be the player in the end with the largest total value of squares in their possession. That is, one wants to capture the squares worth the most points. The game ends when all the squares are occupied by all players since no more moves are left. Movement is always vertical and horizontal but never diagonal. Pieces can be conquered in the vertical and horizontal direction, but never the diagonal direction. The values of the squares can be changed for each game, but remain constant within a game. In each turn, a player can make one of two moves: Commando Para Drop: You can take any open space on the board with a Para Drop. This will create a new piece on the board. This move can be made as many times as one wants to during the game, but only once per turn. A Commando Para Drop cannot conquer any pieces. It simply allows one to arbitrarily place a piece on any unoccupied square on the board. Once you have done a Para Drop, your turn is complete. The image below illustrates a Commando Para Drop. In this case, green drops a new piece on square [C,3]. This square is worth 39, which is a higher number, meaning that it contains some juicy oil wells or other important resources. After that, the score is green 39 : blue 3. A Commando Para Drop could have been carried out on any squares except for [D,4] since blue already occupies it. M1 Death Blitz: From any space you occupy on the board, you can take the one next to it (up, down, left, right, but not diagonally) if it is unoccupied. The space you originally held is still occupied. Thus, you get to create a new piece in the blitzed square. Any enemy touching the square you have taken is conquered and that square is turned to your side (you turn its piece to your side). An M1 Death Blitz can be done even if it will not conquer another piece. Once you have made this move, your turn is over. The image below illustrates an M1 Death Blitz. Green blitzes the piece in [D,4] to [D,3]. This conquers the blue piece in [D,2] since it is touching the new green piece in [D,3]. A blitz always creates a new piece and always moves one square, but it does not conquer another piece unless it is touching it. Thus, another valid move might have been for [D,4] to have blitzed [E,4]. Then the green player would own [D,4] and [E,4] but would have conquered none of blue's pieces. Note, the score before the blitz was green 46 : blue 157 but afterwards is green 113 : blue 149. 2.1 Minimax and alpha-beta agents (for everybody) Your task is to implement agents to play the above game, one using minimax search and one using alpha-beta search. Your program should use depth-limited search with an evaluation function -- which you, of course, need to design yourself and explain in the report. Try to determine the maximum depth to which it is feasible for you to do the search (for alpha-beta pruning, this depth should be larger than for minimax). The worst-case number of leaf nodes for a tree with a depth of three in this game is roughly 42,840. Thus, you should at least be able to do minimax search to a depth of three. For each of these five game boards, run the following matchups: Minimax vs. minimax; Alpha-beta vs. alpha-beta; Minimax vs. alpha-beta (minimax goes first); Alpha-beta vs. minimax (alpha-beta goes first). For each matchup, report the following: The final state of the board (who owns each square) and the total scores for each player; The total number of game tree nodes expanded by each player in the course of the game; The average number of nodes expanded per move and the average amount of time to make a move.

cas-sso-samples icon cas-sso-samples

CAS单点登录案例。整合了CAS OAuth2、Apache Shiro、Spring Security等

cs411 icon cs411

💾 CS411: Database Systems in Spring 2018, UIUC

csse2002_2017 icon csse2002_2017

Java Code samples from a computer science course, csse2002 (2017)

danmaku-player icon danmaku-player

An HTML5 danmaku video player for real-time image processing using WebGl and Web Components.融合了webgl和web components的实时图像处理弹幕播放器

databases-in-the-physical-layer-using-berkeley-db icon databases-in-the-physical-layer-using-berkeley-db

The goal of this project is to learn the concept of working with data in the physical layer. This is done by building an information retrieval system, using the Berkeley DB library for operating on files and indices.

ecls icon ecls

Processing data from the Early Childhood Longitudinal Study (ECLS)

gnutella icon gnutella

Implementation of Gnutella protocol with ensuring consistency in Java (Academic Project)

grbac icon grbac

权限管理服务平台, 利用shiro权限管理设计**, 支持单用户多角色,比RBAC的资源管理更细粒度化

hand_pose_action icon hand_pose_action

Dataset and code for the paper "First-Person Hand Action Benchmark with RGB-D Videos and 3D Hand Pose Annotations", CVPR 2018.

havoc icon havoc

2d Side scrolling Mario style Java game.

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.