Difference between revisions of "User talk:Urgood2"

From Robowiki
Jump to navigation Jump to search
(Welcome)
m (Using <syntaxhighlight>.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{substr:Welcome}}
+
{| width="100%" style="background: white; "
 +
| valign="top" width="60%" style="border: 2px solid #000; padding: .5em 1em; -moz-border-radius: 1em; -webkit-border-radius: 1em" |
 +
'''Welcome!'''
 +
 
 +
Hello, {{BASEPAGENAME}}, and welcome to [[RoboWiki]]! This place contains a wealth information about [[Robocode]], from [[Head-On Targeting|basic]] to [[Wave Surfing|more advanced]]. I hope you enjoy creating robots and being a robocoder!
 +
 
 +
If you are posting a comment on this wiki, please [[wikipedia:Wikipedia:Signatures|sign]] your messages using four tildes (<nowiki>--~~~~</nowiki>); this will automatically insert your username and the date stamp. If you are not familiar with MediaWiki, these links might help you out:
 +
* [[wikipedia:How to edit|How to edit]] on [[wikipedia:|Wikipedia]], [[metawikipedia:Cheatsheet|Cheatsheet]] and [[metawikipedia:File:MediaWikiRefCard.pdf|Reference Card]] of MediaWiki on the [[metawikipedia:|Meta Wikipedia]].
 +
* [[RoboWiki:ReadMe|Readme]] page.
 +
If you need [[Help:Help|help]], check out the [[Robocode/FAQ|frequently asked questions]] or ask it on this page. Again, welcome!
 +
 
 +
—— RoboWiki Administrators
 +
|}
  
 
Welcome to the robowiki :) --[[User:Rednaxela|Rednaxela]] 15:22, 23 April 2010 (UTC)
 
Welcome to the robowiki :) --[[User:Rednaxela|Rednaxela]] 15:22, 23 April 2010 (UTC)
  
==urgood2==
+
Thank you =) --[[User:Urgood2|-- Josh S]] 08:35, 24 April 2010 (UTC)
-Newbie to Robocode
+
 
 +
Try using the preview button instead of save to view your result. You have been spamming our [[Special:RecentChanges|RecentChanges]] list! --[[User:Nat|<span style="color:#099;">Nat</span>]] [[User talk:Nat|<span style="color:#0a5;">Pavasant</span>]] 12:35, 26 April 2010 (UTC)
 +
 
 +
Sorry... Got you. --[[User:Urgood2|-- Josh S]] 14:17, 26 April 2010 (UTC)
 +
==[[User:Urgood2]]==
 +
*Newbie to Robocode
  
 
I am currently learning Java.
 
I am currently learning Java.
I haven't made any "good" robots yet.
+
I haven't made any "good" robots yet.  
 +
[[User:Urgood2|-- Josh S]] 11:37, 26 April 2010 (UTC)
 +
 
 +
Most of us started without a good bot in our sleeves. My first entrance, which defeated 7 others bots at work in melee, ended up on spot 285 out of 300. And see where I stand today. Just set your personal goal within reach and build up from there. Defeating (most of) the samplebots is a good start. Happy robocoding! --[[User:GrubbmGait|GrubbmGait]] 17:57, 25 April 2010 (UTC)
 +
 
 +
Well, that's encouraging! I hope I can start to get a grip on things sometime in the future.. --[[User:Urgood2|-- Josh S]] 11:33, 26 April 2010 (UTC)
 +
 
 +
Finally got my WallAvoiderBot working. =) The angle adjusting part was testing for only heading 0...
 +
<syntaxhighlight>
 +
//...
 +
double angle = 0;
 +
while (!field.contains(wallStickEnd =
 +
project(myLocation, angle, WALL_STICK))) {
 +
angle += .1 * direction;
 +
}
 +
</syntaxhighlight>
 +
I was very frustrated about this, but I finally figured it out.. I replaced the <code>angle</code> argument with <code>getHeadingRadians() + angle</code>.
 +
-[[User:Urgood2|-- Josh S]] 11:33, 26 April 2010 (UTC)

Latest revision as of 09:43, 1 July 2010

Welcome!

Hello, Urgood2, and welcome to RoboWiki! This place contains a wealth information about Robocode, from basic to more advanced. I hope you enjoy creating robots and being a robocoder!

If you are posting a comment on this wiki, please sign your messages using four tildes (--~~~~); this will automatically insert your username and the date stamp. If you are not familiar with MediaWiki, these links might help you out:

If you need help, check out the frequently asked questions or ask it on this page. Again, welcome!

—— RoboWiki Administrators

Welcome to the robowiki :) --Rednaxela 15:22, 23 April 2010 (UTC)

Thank you =) ---- Josh S 08:35, 24 April 2010 (UTC)

Try using the preview button instead of save to view your result. You have been spamming our RecentChanges list! --Nat Pavasant 12:35, 26 April 2010 (UTC)

Sorry... Got you. ---- Josh S 14:17, 26 April 2010 (UTC)

User:Urgood2

  • Newbie to Robocode

I am currently learning Java. I haven't made any "good" robots yet. -- Josh S 11:37, 26 April 2010 (UTC)

Most of us started without a good bot in our sleeves. My first entrance, which defeated 7 others bots at work in melee, ended up on spot 285 out of 300. And see where I stand today. Just set your personal goal within reach and build up from there. Defeating (most of) the samplebots is a good start. Happy robocoding! --GrubbmGait 17:57, 25 April 2010 (UTC)

Well, that's encouraging! I hope I can start to get a grip on things sometime in the future.. ---- Josh S 11:33, 26 April 2010 (UTC)

Finally got my WallAvoiderBot working. =) The angle adjusting part was testing for only heading 0...

 
//...
double angle = 0;
while (!field.contains(wallStickEnd = 
				project(myLocation, angle, WALL_STICK))) {
	angle += .1 * direction;
}

I was very frustrated about this, but I finally figured it out.. I replaced the angle argument with getHeadingRadians() + angle. --- Josh S 11:33, 26 April 2010 (UTC)