<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.zenerves.net/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>https://wiki.zenerves.net/index.php?feed=atom&amp;target=MacyWales&amp;title=Special%3AContributions%2FMacyWales</id>
		<title>ZENotes - User contributions [en-gb]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.zenerves.net/index.php?feed=atom&amp;target=MacyWales&amp;title=Special%3AContributions%2FMacyWales"/>
		<link rel="alternate" type="text/html" href="https://wiki.zenerves.net/index.php?title=Special:Contributions/MacyWales"/>
		<updated>2026-05-16T21:04:59Z</updated>
		<subtitle>From ZENotes</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>https://wiki.zenerves.net/index.php?title=NXT_Snippets</id>
		<title>NXT Snippets</title>
		<link rel="alternate" type="text/html" href="https://wiki.zenerves.net/index.php?title=NXT_Snippets"/>
				<updated>2011-09-06T17:50:21Z</updated>
		
		<summary type="html">&lt;p&gt;MacyWales: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please contribute Snippets in Plain Text; this site aims more at being a Library than a Download Center. I believe it's quicker to review someones' code that to download, unpack, open &amp;amp; crawl through: let's just it being accessible, shall we?&lt;br /&gt;
&lt;br /&gt;
 Some snippets here are just plain copied/pasted from Daniele Benedettelli' [http://bricxcc.sourceforge.net/nbc/ nxc tutorial]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My Snippets===&lt;br /&gt;
&lt;br /&gt;
[[Drunken tribot v1]] That's where the beginner should start with, for an ultra-simple yet effective random movement based on a drunken robot tribulations&lt;br /&gt;
&lt;br /&gt;
[[Drunken tribot v2]] Single thread, simple random &amp;quot;drunken&amp;quot; programme for any species of 'bot with a touch sensor in front.&lt;br /&gt;
&lt;br /&gt;
[[Drunken tribot v3]] Thriple-Threaded Totally Drunk 'bot tries to avoid certain tiles on the floor on top of being really unable to avoid any obstacle or take any rational decision regarding where to &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://www.mycaal.com/&amp;lt;span style=&amp;quot;color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;&amp;quot;&amp;gt;loan modification&amp;lt;/span&amp;gt;] head to after a collision.&lt;br /&gt;
&lt;br /&gt;
===Tutorial Snippets===&lt;br /&gt;
&lt;br /&gt;
[[Motor1]] Simple Move Forward &amp;amp; Back for two motors&lt;br /&gt;
&lt;br /&gt;
[[Mutex]] starting the Multiple Thread Way&lt;br /&gt;
&lt;br /&gt;
[[Random]] is your first, simple step to Randomisation of behaviour.&lt;br /&gt;
&lt;br /&gt;
[[2Threads42motors]] introduction to separate, non-exclusive threads&lt;br /&gt;
&lt;br /&gt;
[[TripleMutexwithTouchandDistance]] fully functional but laggy.&lt;br /&gt;
&lt;br /&gt;
===Other Peoples' Snippets===&lt;br /&gt;
&lt;br /&gt;
[[pong]] This one contains a very cool version of the old Pong game. It was written by Michael Anderson.&lt;br /&gt;
&lt;br /&gt;
Better [[Rex]] is an nxc version of the very mind of Mr Alpha Rex; I say ''the Very Mind'' because the code by G.Hawkins is heavily commented, very instructive.&lt;br /&gt;
&lt;br /&gt;
[[spitter]] This snippet contains a program written by Sivan Toledo. It shows off a number of important NXC language features. See [http://www.tau.ac.il/~stoledo/lego/Spitter/Sivan's Spitter page] for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Snippets]][[category:Software]][[category:NXT]]&lt;/div&gt;</summary>
		<author><name>MacyWales</name></author>	</entry>

	</feed>