03-30-2010 11:01 AM
03-30-2010 11:52 AM
03-30-2010 12:41 PM
translated from Chinese:
For xcontrol power seems to be able to see from the examples, but specific to the production of xcontrol control there is still considerable difficulties, please my friends talk about the specific process of making you? For example the classic Othello game, or a seven segment led display 0-9 values. Thank you very much! ! !
04-01-2010 10:45 AM
04-01-2010 11:09 AM - edited 04-01-2010 11:11 AM
(We should do all that in english, unless you want to post it in the chinese forum.)
It is not entirely clear what you want to do. Of course you could hide the entire othello game logic inside the Xcontrol, but most likely you are looking to simply create a UI for the board or LED display.
What kind of difficulties do you have?
First you need to decide on a suitable datatype. For a seven segment display, it could be a simple integer. How many 7-segment digits you need? For an othello game it could be an array of two U64 numbers. The bits of one indicating the black position and the other showing the white positions.
Maybe you can attach what you made so far and tell us where you got stuck.