1 / 1

To make a digital referee for an unaltered Abalone Referee would sense every move made

Senior Project – Electrical Engineering - 2005 Electric Abalone Referee Using MATLAB Benjamin Bayes, Dean Miller Advisor – Prof. Rudko. Objectives. To make a digital referee for an unaltered Abalone Referee would sense every move made Would identify legal moves, and flag illegal ones

zuzana
Télécharger la présentation

To make a digital referee for an unaltered Abalone Referee would sense every move made

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Senior Project – Electrical Engineering - 2005Electric Abalone Referee Using MATLABBenjamin Bayes, Dean MillerAdvisor – Prof. Rudko Objectives • To make a digital referee for an unaltered Abalone • Referee would sense every move made • Would identify legal moves, and flag illegal ones • Allow the players to reset the game if move is illegal • Would display score, moves, and a digital representation of the board • Compatible with 2 players (due to time restraints, we were unable to expand it to a possible 6 players) Image Processing Solution • User initialized board • Once endpoints are known, all other points can be found through midpoint equations • Processing based on the analysis of the RGB values at each point Logic System Results • Program works! Can referee a complete game • Continuous image creation through Creative Webcam Software and camera mounted to stand • Program initializes board, keeps track of whose turn it is, keeps track of score, determines the winner • If an error is made, program displays last correct board orientation and waits for user to correct • Compatible with multiple staring positions • However, did not have time to make program compatible for multiple players/colors • Given: Board’s old and new position (lbig: 11:21:2 dimensional array) created from image processing • # Red, # White marbles on old and new boards (NR1,NR2, NW1, NW2 from lbig) • # of changes and change coordinates (change, ccoor(2:X array), from lbig) • How do we determine legal moves? • Solution: 1000+ lines of If, ElseIf statements!

More Related