<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Game programming | Psyops Prime</title>
	<atom:link href="https://psyopsprime.com/tag/game-programming/feed/" rel="self" type="application/rss+xml" />
	<link>https://psyopsprime.com</link>
	<description>An Idea Log</description>
	<lastBuildDate>Fri, 27 Jan 2017 12:05:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<site xmlns="com-wordpress:feed-additions:1">99640787</site>	<item>
		<title>Game Programming With Matlab and Octave</title>
		<link>https://psyopsprime.com/reviews/game-programming-with-matlab-and-octave/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=game-programming-with-matlab-and-octave</link>
					<comments>https://psyopsprime.com/reviews/game-programming-with-matlab-and-octave/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 15 Jan 2017 07:07:17 +0000</pubDate>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Game programming]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[Octave]]></category>
		<category><![CDATA[Tanks Game]]></category>
		<category><![CDATA[tic-tac-toe]]></category>
		<guid isPermaLink="false">http://psyopsprime.com/?p=1367</guid>

					<description><![CDATA[<p>I am currently reading about ways to develop board games in Matlab. I will be really pleased to be able to develop other kinds of</p>
The post <a href="https://psyopsprime.com/reviews/game-programming-with-matlab-and-octave/">Game Programming With Matlab and Octave</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">I am currently reading about ways to develop board games in Matlab. I will be really pleased to be able to develop other kinds of games as well. Here on this page, I am just throwing the links and articles that I find useful. To begin with <a href="https://www.quora.com/Can-I-make-games-using-Matlab" target="_blank">here is a nice thread on quora</a>. More link as follows:</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://tim.hibal.org/blog/using-matlab-to-write-games/">Using MATLAB to Write Games</a></h4>
<p>This is a somewhat odd topic in that one does not think of MATLAB when one thinks of writing games. I mean, seriously? MATLAB is an interpreted language, and thus slow, and is made for crunching math and plotting graphs. Not exactly game-worthy.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>Matlab source code of some popular games such as sudoku and tic-tac-toe. This can help you glean what goes inside the code.</p>
<p>http://ef.engr.utk.edu/gs2011/computer/matlab-games/</p>
<p>Some games (and their codes) showcased on Mathworks and other sites.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://www.mathworks.com/matlabcentral/fileexchange/31449-stellaria--tech-demo--the-best-matlab-shooting-game-ever">Stellaria (Tech Demo) &#8211; The best MATLAB shooting game ever</a></h4>
<p>If you think you have played the best MATLAB game before. Think again after you try this one.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>http://joeweinhoffer.com/portfolio-items/lunar-lander/</p>
<p>Yet another game in Matlab: Risk. For those of you who are familiar.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/cody/problems/1260-risk-board-game-battle-simulation">RISK board game battle simulation &#8211; MATLAB Cody &#8211; MATLAB Central</a></h4>
<p>Given two positive integer inputs, a (attacker army units) and d (defender army units) return the probablity of victory (from 0.000 to 1.000) to +- 0.02 accuracy. The rules are given below for those unfamiliar with the game. In the board game RISK battles are determined by the conflict of armies, namely the attacking army and the defending army.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>Here is a nice article about the implementation of minesweeper in Matlab. It could be really useful for understanding how to develop a game board in Matlab.</p>
<p>http://wikis.swarthmore.edu/ENGR005_2009/index.php/MatLab_Minesweeper</p>
<p>Ability to draw voxels (cubes, cuboids) could be of some value, as it was showcased on a gaming site and is available through Mathworks.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://www.mathworks.com/matlabcentral/fileexchange/3280-voxel">Voxel</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/45795-roteaugen-flappybird-for-matlab">RoteAugen/flappybird-for-matlab</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This tutorial on youtube about creating GUIs in Matlab with GUIDE could be useful. Review this as you listen to a nice song.<br />
<a class="embedly-card" href="https://www.youtube.com/watch?v=DH4Dj0lz4qs">Create a simple game in matlab gui Part1</a><br />
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This is a nice tutorial and contains links and videos for famous games implemented in Matlab.</p>
<p>http://www.matlabtips.com/gaming-in-matlab/</p>
<p>Following is somebody&#8217;s website who has implemented numerous board games in Matlab. This can be really good to understand board development in Matlab.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://zerocrossraptor.wordpress.com/my-shared-resources/matlab-fun-toolbox/">MATLAB Fun Toolbox</a></h4>
<p>This page contains my library of MATLAB m-files for a simple game and everything else that I make just for fun. All of these m-files are free and you may use or modify them as you like. To download the m-files, simply click the link on each m-file name and a pop-up window will appear, allowing&#8230;</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>I also wanted to list a few games that are implemented specifically in Octave, as many people do not have access to Matlab or they don&#8217;t like it. Here is an implementation of tic-tac-toe in Octave. This could be nice to understand how graphics are rendered in Octave.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://github.com/sinhas/TicTacToe">GitHub &#8211; sinhas/TicTacToe: Tic-Tac-Toe minimax algorithm implementation in Octave</a></h4>
<p>Tic-Tac-Toe minimax algorithm implementation in Octave &#8211; GitHub &#8211; sinhas/TicTacToe: Tic-Tac-Toe minimax algorithm implementation in Octave</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This implementation of game of life in Octave can be really useful.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://math-blog.com/the-game-of-life-in-octave/">No Title</a></h4>
<p>No Description</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This sounds like a really nice book that was written with the intention of teaching game programming with Matlab.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/support/books/book71931.html">Matrices, Vectors, and 3D Math: A Game Programming Approach with MATLAB</a></h4>
<p>Matrices, Vectors, and 3D Math provides a resource to learn standard topics in Linear Algebra and</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>Here is a nice tanks game called Staker that is showcased on Mathworks. It is written in Matlab. It could be helpful in understanding how Matlab renders graphics.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/19417-staker-v0-6">Staker v0.6</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>Here is another nice tanks game that uses graphics.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/9385-renegade-legion--centurion/content/centrules.m">Renegade Legion: Centurion</a></h4>
<p>This game is a turn based wargame that features two platoons of grav tanks battling it out.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This chess game in Matlab can help draw a board at least. It integrates well with external chess engines.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/47272-chess-master">Chess Master</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This is a very nice piece of code that shows you how to draw cellular automata in Matlab/Octave.</p>
<blockquote class="reddit-embed-bq" style="height:316px" ><p><a href="https://www.reddit.com/r/cellular_automata/comments/2qgrdg/10_lines_of_matlab_code_works_also_in_gnu_octave/">10 lines of Matlab code (works also in GNU Octave): a simple Game of Life</a><br /> by<a href="https://www.reddit.com/user/martin123444/">u/martin123444</a> in<a href="https://www.reddit.com/r/cellular_automata/">cellular_automata</a></p></blockquote>
<p><script async src="https://embed.reddit.com/widgets.js" charset="UTF-8"></script></p>
<p>You will find this very handy as it shows how to use imshow to display a bunch of images in a plot without borders.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://www.briandalessandro.com/blog/how-to-make-a-borderless-subplot-of-images-in-matlab/">How to Make a Borderless Subplot of Images in MATLAB | briandalessandro.com</a></h4>
<p>A tutorial on how to remove the spacing between images when imshow() is used with subplot() in a MATLAB figure.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>The second edition of the book, Artificial Intelligence for Games, by Ian Millington and John Funge can be found here.</p>
<p><iframe title="Artificial Intelligence for Games" type="text/html" width="750" height="550" frameborder="0" allowfullscreen style="max-width:100%" src="https://read.amazon.com/kp/card?preview=inline&#038;linkCode=kpd&#038;ref_=k4w_oembed_76ZwU8zL37blCq&#038;asin=0123747317&#038;tag=kpembed-20"></iframe></p>
<p><a href="http://lecturer.ukdw.ac.id/~mahas/dossier/gameng_AIFG.pdf" target="_blank">The pdf of the book can be found here</a>.</p>
<p>Finally, here are some links for pathfinding algorithms in Matlab.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/26248-a---a-star--search-for-path-planning-tutorial">A* (A Star) search for path planning tutorial</a></h4>
<p>A tutorial that presents the A* search algorithm for determining the shortest path to a target.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/45546-a--algorithm">A* Algorithm</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/26723-demonstration-of-astar--a--">Demonstration of Astar (A*)</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.mathworks.com/matlabcentral/fileexchange/17648-a-star-implemented-in-matlab">A Star implemented in Matlab</a></h4>
<p>Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/42741665@N08/10931870273" target="_blank">Flikkersteph -5,000,000 views ,thank you!</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" /></a></small></p>The post <a href="https://psyopsprime.com/reviews/game-programming-with-matlab-and-octave/">Game Programming With Matlab and Octave</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/reviews/game-programming-with-matlab-and-octave/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">1367</post-id>	</item>
	</channel>
</rss>
