<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Uncertain Binary Thoughts &#187; pong</title>
	<atom:link href="http://ankurs.com/tag/pong/feed/" rel="self" type="application/rss+xml" />
	<link>http://ankurs.com</link>
	<description>01110100110101010101011101100010</description>
	<lastBuildDate>Sun, 01 Jan 2012 18:20:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Weekend Project II</title>
		<link>http://ankurs.com/2010/08/weekend-project-ii/</link>
		<comments>http://ankurs.com/2010/08/weekend-project-ii/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 16:22:33 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[bada]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[pong]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[tilt]]></category>
		<category><![CDATA[weekend]]></category>

		<guid isPermaLink="false">http://ankurs.com/?p=656</guid>
		<description><![CDATA[In march i posted about a weekend project which involved controlling a small toy car using my cell phone, this is a similar one again implemented in few hours, here we are trying to play the awesome game of pong using the tilt sensor on Samsung Wave. The pong application running on Laptop is written&#8230;]]></description>
			<content:encoded><![CDATA[<p>In march i posted about a <a href="http://ankurs.com/2010/03/weekend-project/">weekend project</a> which involved controlling a small toy car using my cell phone, this is a similar one again implemented in few hours, here we are trying to play the awesome game of pong using the tilt sensor on Samsung Wave. The pong application running on Laptop is written in <a href="http://qt.nokia.com/">Qt</a> (C++) and the application on the Phone is written using the <a href="http://www.bada.com/">Bada SDK</a>.<br />
The working is simple, the pong application running on Laptop requires phones to make a TCP connection to it. Phones just create a TCP connection to the application on PC and sends tilt sensor data to it, movement of paddles is done by the PC application based on the value it receives from the phones. It still <strong>requires better calibration</strong> and we will work on it after the exams are over (Education prevents you from doing cool things!!), there are a lot of ideas buzzing in our empty heads (according to our teachers!!) , the original idea was by <a href="http://abhikumar777.blogspot.com/">Abhimanyu</a> which we implemented.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/dHinEjh8iIw?fs=1&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dHinEjh8iIw?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Aw15OuquzcQ?fs=1&amp;hl=en_US&amp;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Aw15OuquzcQ?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>if you cannot see the above video <a href="http://www.youtube.com/watch?v=dHinEjh8iIw">here</a> and <a href="http://www.youtube.com/watch?v=Aw15OuquzcQ">here</a> are short demo of how it works.</p>
<p>PS &#8211; code and proper working for the previous and this weekend project will be posted soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2010/08/weekend-project-ii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JavaFX and Pong</title>
		<link>http://ankurs.com/2009/03/javafx-and-pong/</link>
		<comments>http://ankurs.com/2009/03/javafx-and-pong/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 17:38:03 +0000</pubDate>
		<dc:creator>Ankur Shrivastava</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[javafx]]></category>
		<category><![CDATA[manipal]]></category>
		<category><![CDATA[mit]]></category>
		<category><![CDATA[pong]]></category>

		<guid isPermaLink="false">http://ankurs.com/?p=476</guid>
		<description><![CDATA[There was a workshop conducted by engineers form SUN in our college regarding JavaFX, which went quite well. I was planning to start with JavaFX but as there was no Official release of any Linux SDK, it kept me back but this semester i had to install Windows because of my University which wants me&#8230;]]></description>
			<content:encoded><![CDATA[<p>There was a workshop conducted by engineers form SUN in our college regarding <a href="http://javafx.com/">JavaFX</a>, which went quite well. I was planning to start with JavaFX but as there was no Official release of any Linux SDK, it kept me back but this semester i had to install Windows because of my University which wants me to use Visual Studio for my mini project this semester, so as i had Windows (unwillingly) on my system i planned to go and attend this JavaFX workshop.<br />
From what i have learned in these two days, JavaFX looks promising for developing Rich Internet Applications, the language is somewhat a mixture of JavaScript and Java. With Type Inference , Audio/Video support  etc making it very easy to use and create applications with.<br />
In the workshop after every thing was over we were asked to make a simple application in JavaFX, so here is my code for a Simple pong game in JavaFX<br />
the resolution is set to 1440&#215;900 you can change it to your resolution in the code<br />
<span id="more-476"></span><br />
<script type="text/javascript" src="http://snipt.net/embed/af5b15371751e9d9ebbe6b42f96d1f34"></script><br />
if you cannot see the code see <a href="http://snipt.net/ankur/a-simple-pong-game-in-javafx">here</a><br />
<br />
PS &#8211; as i dont normally boot into windows i dont think that i will do anything in it soon, i am waiting for Linux JDK to be released&#8230;&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://ankurs.com/2009/03/javafx-and-pong/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

