Great news guys,
We are going to maker faire Rome in October
I guess Alessandruino and Gael are also coming.
I have few things in mind ToDo before maker faire, but have lots of question, please help me get sorted:
ToDo:
-Run MRL from Raspi so that the chess board becomes completely standalone.
(I plan to give Wifi connectivity to Raspi with an USB Wifi dongle and connect the Arduino mega to it with USB port )
-Changing the chess engine used by MRL. (this one if possible http://stockfishchess.org/)
-Use WebGUI of MRL
-Re-code the Arduino program in MRL so the complete board will work only on 1 Raspi
Questions (Plz bare with the long list and details):
1) Will MRL work on Raspi, I basically need the following services ( Chess, Serial, python, speech)
2) changing the chess engine used by MRL, I guess stockfish (open source) would be a good idea, this is because the current engine doesnt give identifiers when the computer performs moves like castling and en passant or when computer kills a user's piece.
Grog, can you please look into the possibility of changing the chess engine or tell me how it can be done.
3) I currently work with MRL by starting it from command prompt, I would like to know little about the web GUI and its capabilities.
Current Scenario:
I have a website setup (chess.riidl.org) where I have a chess GUI, so if i connected my board to this site, I get user vs user game play unlike connection with MRL where I get user vs computer.
I have got this to work by writing a processing sketch which will send and receive data between the website and my Arduino.
I currently do this by having a .php file write to my database.
Future Scenario (if possible):
I was wondering if this could be done using the WedGUI part of MRL,
I guess the WebGUI uses sockets so I guess this would also remove the lags which we currently are facing with database.
I am not very good with web based programming so please guide me if I am wrong.
So guys, any feedback/suggestion on how the above tasks can be solved would be great.
*Sorry if I made the post too long/descriptive
Ciao! :)
Ahoy Mehtaatur ! WOOOHOOO 2
Ciaooooo
Go man Go
You will make a big hit. Go man Go. I keep my fingers cross . Great project.
Thanks Adolph
Very helpful thanks... For
Very helpful thanks... For php & "Website" with GUI - you have a chessboard with movable pieces? Or does the user type in a move ? Is there a lot of Javascript ? I went to your website but did not find an interface for the board.
I saw this - http://chessboardjs.com/ MRL's WebGUI can do REST or what might be even better for this application is JSON over websockets - I'm betting that can control the chessboardjs
Smaller and simple is my preference usually.
Here is a possible system - Everything runs through a game manager service - Users are controlled by the GameManager such that it can be WebUser against WebUser, WebUser against User using the board, WebUser against Game Engine, and all the other combinations.
You have 1 board so the contol aspect is 2 players - the 2 players could be anything (game engine) or anyone (web user - board user)
Wow Grog, Thanks for the
Wow Grog,
Thanks for the quick reply.
My site currently uses the GUI from chessboardjs.com, here's the page link http://chess.riidl.org/webchess/index.php
I get your idea about using a game manager on Raspi, but I havent done any programming with JSON/websockets.
Can you give me a starting point from where I could learn to implement this. Ill read more and then get back :)
Great . your already using
Great . your already using chessboardjs :) .. makes things easier
I would recommend that you attach your php files (remember to strip out any passwords if you have them)..
I've already created a ChessGameManager Service in MRL - it will coordinate between all the different interfaces.
Some Basic Rule :
Sound right so far?
Awsome, you made a service
Awsome, you made a service already
heres a link to my php files http://www.chess.riidl.org/webchess/download/webchess.rar
since I dont know much about wiriting in php, one of my team member has written these.
I just ordered a Raspi B+, so i guess in the next 3-4 day i would b able to start with the testing.
Since we will be using websockets, could you give me some good refernce from where I could start reading about it, cause I have never worked with sockets before. so before the Pi arrives I could have my basics in place .
Ciao
Grog you deserve a medal!!
Grog you deserve a medal!! You truly do!
True thant wvantoorn
True that wvantoorn