Remote agent: Difference between revisions
Content added Content deleted
(Updated commands to include color information.) |
(Use commands provided by User:Abu) |
||
Line 133: | Line 133: | ||
== Commands and event codes == |
== Commands and event codes == |
||
{|border=1 |
{|border=1 |
||
Line 138: | Line 139: | ||
|name||type||character||decimal||hex |
|name||type||character||decimal||hex |
||
|- |
|- |
||
|forward||command|| |
|forward||command||^||94||0x5E |
||
|- |
|- |
||
| |
|turn right||command||>||62||0x3E |
||
|- |
|- |
||
| |
|turn left||command||<||60||0x3C |
||
|- |
|- |
||
|get||command||| |
|get||command|||@||64||0x40 |
||
|- |
|- |
||
|drop||command|| |
|drop||command||!||33||0x21 |
||
|- |
|- |
||
|game over||event|| |
|game over||event||+||43||0x2B |
||
|- |
|- |
||
|stop||event|| |
|stop||event||.||46||0x2E |
||
|- |
|- |
||
|color |
|color red||event||R||82||0x52 |
||
|- |
|- |
||
|color |
|color green||event||G||71||0x47 |
||
|- |
|- |
||
|color |
|color yellow||event||Y||89||0x59 |
||
|- |
|- |
||
|color |
|color blue||event||B||66||0x42 |
||
|- |
|- |
||
|ball |
|ball red||event||r||114||0x72 |
||
|- |
|- |
||
|ball |
|ball green||event||g||103||0x67 |
||
|- |
|- |
||
|ball |
|ball yellow||event||y||121||0x79 |
||
|- |
|- |
||
|ball |
|ball blue||event||b||98||0x62 |
||
|- |
|- |
||
|bump||event|| |
|bump||event||<nowiki>|</nowiki>||124||0x7C |
||
|- |
|- |
||
| |
|sector full||event||S||83||0x53 |
||
|- |
|- |
||
| |
|agent full||event||A||65||0x41 |
||
|- |
|- |
||
| |
|no ball in sector||event||s||115||0x73 |
||
|- |
|- |
||
| |
|no ball in agent||event||a||97||0x61 |
||
|} |
|} |