Hi guys,
I'm doing a major in computer science and I've been learning some interesting stuff.
For example:
transitive gates - where you have (a,b) (b,c) which implies that a can go to c (a,c)
recursion - you have a program that runs itself within itself until it reaches some answer/logic to stop.
So I was thinking hey why not use some of this stuff and try make a simple game like 3D-MonsterMaze.
I could use transitive gates for the logic, so the computer knows if I am at a I can go to b, if I am at b I can go to a and to c e.t.c
and some recursion with Lua to run the program on itself to check where you are at every step and return possible conditions.
Anyway my point of making this thread was just to inspire some conversations about some of the neat stuff we can use in games from computer science (pretty much everything programming is computer science anyway but I mean the interesting stuff which is not commonly used or thought of)
Lets Apply Computer Science!
Re: Lets Apply Computer Science!
A lot of the "interesting stuff that is not usually thought of" is often actually thought of:
- Antichamber is based around non-Euclidean geometry (kinda);
- Entity-Component Design Pattern follows the manta of favoring composition over inheritance;
- Jump Point Search is a shortest path improvement for uniform cost grid maps (I believe the Jumper library by Roland Yonaba for LOVE uses JPS);
- Hyperplane separation theorem both increases the fidelity and speed of convex polygon collisions;
- Buffer overflow attacks can be used to do some rather interesting things inside a game;
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Lets Apply Computer Science!
Scroll down to "(s)elf-exploitation" here: http://www.gamasutra.com/view/feature/194772/MarekkPie wrote:Buffer overflow attacks can be used to do some rather interesting things inside a game;
Re: Lets Apply Computer Science!
I remember hearing about that. And they say no one ever reads the EULA. The program certainly does!slime wrote:Scroll down to "(s)elf-exploitation" here: http://www.gamasutra.com/view/feature/194772/MarekkPie wrote:Buffer overflow attacks can be used to do some rather interesting things inside a game;
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: Lets Apply Computer Science!
Yes, indeed.MarekkPie wrote: Jump Point Search is a shortest path improvement for uniform cost grid maps (I believe the Jumper library by Roland Yonaba for LOVE uses JPS)
Who is online
Users browsing this forum: No registered users and 2 guests