Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ruler501

Pages: 1 [2] 3 4 ... 7
16
Math and Science / Study Suggestions
« on: November 20, 2012, 04:10:36 pm »
I am currently a high school freshman and have finished most of the math my school offers. I understand Calculus I/II(BC/Single Variable) and have a relatively good understanding of Calculus III(Multivariate) up to surface integrals. I have some understanding of differential equations, linear algebra, and some real analysis(though very little). What should I study to keep going in math? I am very interested in math and want to keep learning. The few things I have to consider though is that I have to do most of the learning on my own since I know no one who is anywhere near my level at math(well at least no students teacher is probably close) irl. I also am applying to a program called TAMS that basically has you live at college for two years to finish high school. One of the things they want you to do though is take a test at the beginning that is supposed to tell them where you are in math. From what I've heard it goes through linear algebra and differential equations. I would love to do really good at that test and at the least get out of most of the classes so I can do math I haven't already taught myself. thanks for any help.

EDIT: Basically what I'm trying to ask is what should I study next in math? It seems there are a lot of choices and I want to study something interesting, but I also want it to help me later on in college and high school.

17
Music Showcase / My Duet
« on: November 13, 2012, 09:20:59 pm »
I decided it would be nice for me and my brother to do a duet and I've been trying to get better at composing. The result of all of that is this: http://musescore.com/user/39983/scores/72019

Any comments or suggestions would be nice. The recording it shows is not as good as what I think it would be in person. I'll upload the inperson video later when he learns it and can play it.

18
Miscellaneous / My Story
« on: September 29, 2012, 11:20:28 pm »
I wrote this for my English/World Geography class for school and I wondered what you guys thaought of it. It is my only large piece of fiction I have written. My group said they liked it, but they may have just liked that I wrote the whole thing :P

http://www.booksie.com/other/short_story/ruler501/doomsday-in-dallas

Any critiques are welcome

19
News / Coding Battles Results
« on: September 05, 2012, 08:49:58 pm »
We have had two great competitors for this competition. We had Sorunome with MafiaBot which played the old game of mafia with many additional characters. We also had Merthsoft with his wonderful MineBot that would allow you to play Minesweeper over IRC. Both were great programs, but there can be only one winner. I am pleased to announce that Sorunome's MafiaBot won by 4 votes :thumbsup:. The final tallies across Omnimaga and Cemetech was 7 votes for MafiaBot and 3 for MineBot. Congratulations Sorunome and I hope that development continues on this wonderful project. I also hope that Merthsoft continues work on MineBot. I'd be glad to see the highscore system implemented on his site.

All and all this was a good contest and I hope in future iterations we have the same quality of submissions. The voting for the next topic will be starting soon. I hope that we find a great topic that can attract even more people to active computer development work.

20
Computer Projects and Ideas / Contest: Coding Battles Voting Thread
« on: August 29, 2012, 06:00:40 pm »
We have had two great submissions by Sorunome with MafiaBot and Merthsoft with MineBot for the first Coding Battles Contest. Please try each out and vote for your favorite. After one week the poll will end and the winner will be announced.

This is merthsofts submission
Here's my submission:
http://merthsoft.com/MineBot.zip
There's an instance running on EFNet, just DCC CHAT it if you want to play :)

This is Sorunomes MafiaBot submission see this topic for usage instructions http://ourl.ca/16715
Thanks, but I didn't know i'd be able to go on internet so soon :P And you made something wrong in that zip, i thought i told you that some files belong in a folder. Well, here is it now correctly (attached) i didn't change anything, I also include the executable. Compile it with:
Code: [Select]
g++ -std=c++0x -pthread main.cpp -o MafiaBot

I'll be glad to see who wins and hope great development continues on both of these wonderful IRC bots

And while the voting is running for this in the original topic thread http://ourl.ca/16662 I am excepting new ideas for the next contest.

EDIT: I just remembered that I didnt put this here and not everyone will read the official rules. Please only vote on omni or on cemetech since otherwise your vote counts twice and its unfair to the competitors to have one person be able to count for multiple

21
Computer Projects and Ideas / Coding Battles Submissions
« on: August 26, 2012, 02:07:54 pm »
The time has finally come to see the results of everyones great work on their IRC game bots. If everyone could please post at least their source code here(or link to download/github/other source control) and possible a link to the channel it operates in the poll will start tomorrow to see who the winner is. Submissions will be stopped at 2pm CST August 27th.

Unless people have complaints the poll will start tomorrow and end a week after.

Remember the rules and see the FAQ here http://ourl.ca/16662

22
Computer Projects and Ideas / [Contest] Card Game IRC bot
« on: August 07, 2012, 06:04:44 pm »
This is my contest idea it is a bot that manages various card games. Post any suggestions here currently I'm thinking

Poker(maybe different kinds...)
Blackjack
Go-Fish
Speed if I can think of a good way to do it

23
Computer Projects and Ideas / Contest: Coding Battles Topic Poll
« on: August 02, 2012, 08:16:53 am »
Please vote here for your favorite ideas for the coding battles contest. For more information on the contest go here http://ourl.ca/16662/312138
This poll will run for 3 days then whatever topic is winning will become the topic for the first Coding battles. If anyone believes that any of these should have a different time limit then 3 weeks please say so.



My guess is that snake and tetris could be done in 10 days
i would also guess the IRC bot for managing channels could be done in a week
Otherwise I think 3 weeks would be reasonable development time for the rest

24
Computer Projects and Ideas / Contest: Coding Battles
« on: August 01, 2012, 02:30:28 pm »
This is a matured version of http://ourl.ca/8809

THE GAMES HAVE BEGUN THE CONTEST WILL END AUGUST 26th AT 2pm CST

The idea of this contest is relatively simple. A poll is posted and people vote for a project idea/theme. Once the poll is completed the contest will be announced and coders will have 3 weeks(subject to change based on contest idea) to complete their submission. To submit their final result they post in the voting topic(which will be made on the last day) within 24 hours. Source code is all that is required for the submission though binaries for windows/linux/mac are encouraged. You make work individually or in a team.

RULES:
1) With your submission make sure you post build instructions including any libraries needed for compiling
2) The work must be done by you or your team no taking others code or having others write it for you
3) You submit your source/binaries within 24 hours of the contest end
4) Your code cannot contain more than 15% code written before the contest started
5) Do not annoy people to test your program
6) Do not vote on both cemetech and omnimaga please limit your votes to just being on one site they will be combined for the final results

Please follow the rules they all have good reasons behind them and everyone I've seen has been doing great work and it would be a shame to be disqualified after working so hard.

The project idea will be decided through a poll. Post your ideas here for inclusion in the poll(which will be made later this week)

FAQ:

Q: What programming languages can I use?
A: There is no assigned language any comp language can be used. You will most likely want to choose languages which are more cross compatible though as anyone who wants to run it and cannot definitely wont be voting for you.

Q: Is this just another game making competition?
A:  Project ideas do not have to be games they can be anything that can be programmed on-comp for comps(excluding websites). The contest will be over making what the community decides is the best idea.

Q: Can we use code from previous projects?
A: You can but it should not be more then 15% of your code. See rule #4

Q: Can I have more than one submission?
A: No we do not want to flood the voters with too many submission and if each person is making 2 or more it could get hectic...

Q: Is this now a cross-site contest?
A: Yes it was suggested that it be crossposted on cemetech and from there it has evolved to the point that there are polls on each site and submissions will be accepted on either.

Q: I use a password in my source can I censor that?
A: Of course you can just leave a comment on the line that says its been censored and you need a real password to run it

Current Project Idea:
IRC bot that plays/manages IRC games. This is a text game that is run by a bot. If the admins approve it maybe there can be and omnimaga-games channel for the winner


Next Project Ideas(pre-poll):
Maze Themed Game
Snake
Tetris
Paint Style program
Map Editor with testing program
Music composition software
2d rts-fps game engine
minesweeper
Jump and Run Game
Red Code like game(program something that plays the game)

Project Ideas that are too general:
AI game
Tools/Utilities
platformer(I may just not understand the category well enough on this though)
Simulation Game

Ideas that can not be in the next contest:
IRC bots/programs

We dont want too close topics to previous ones so we can maintain diversity

25
Computer Projects and Ideas / Contest Scoring Ideas
« on: August 01, 2012, 07:51:21 am »
I'm intending to try reviving this thread idea http://ourl.ca/8809
Just this time the contest will be language independent and comp only. The problem this brings up is what are the requirements the program must meet to be considered for the contest. Most importantly what should people have to have to run the program. I personally would like it to be public polls with cross platform.

26
General Discussion / Learning to write music
« on: July 29, 2012, 11:18:41 pm »
I currently play saxophone/clarinet and am going to learn how to play piano probably. I would like to learn how to write good music. What would be a good way to learn how to write good music? I have messed around with musescore before and gotten some success but they never sound quite right. I would also like to know how to understand how music works when listening to it. I would be very thankful for any free online resources for learning.

Attatched is one solo i tried to write about a week ago so you have an idea of what i know(just enough to play the instrument :P )
EDIT temporarily removed pdf so i could remove my real name

28
Casio Calculators / Simon: The first pSDL game
« on: June 30, 2012, 12:03:16 pm »
I created Simon the memory game for prizm using pSDL to show the basics of what it can currently do(I'm working on image loading and I may be able to finish before I leave tomorrow).
At the first menu heres what you can do
Press 1 to start it with text at the bottom for which arrow it maps to
press AC/ON to start without the help
press esc to exit

while it is running it will who each color/help if you enabled it for 3/4 of a second and then once all are shown it will go to black and you can start inputing arrows and the screen will change to the appropriate color
if you manage to get to 25 correct you win(the game)

My code is not exactly the best example of SDL code but here it is...
Spoiler For code:
Code: [Select]
#include <SDL.h>
#include <fxcg_syscalls.h>
#include <fxcg/display.h>
#include <stdlib.h>
#include <string.h>

static unsigned long next = 1;
/* RAND_MAX assumed to be 32767 */
int sys_rand(void) {
    next = next * 1103515245 + 12345;
    return((unsigned)(next/65536) % 32768);
}

void sys_srand(unsigned seed) {
    next = seed;
}


int main()
{
SDL_Surface *screen;
int i, j, k, width, height, bpp, done=0, printCase=0, win=1;
SDL_Event event;
SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER);
width = 384;
height = 216;
bpp = 8;
SDL_Color palette[5];
palette[0].r=255; palette[1].g=0; palette[1].r=0;
palette[1].r=0; palette[2].g=255; palette[2].b=0;
palette[2].r=0; palette[3].g=0; palette[3].b=255;
palette[3].r=255; palette[0].g=255; palette[0].b=255;
palette[4].r=0; palette[4].g=0; palette[4].b=0;
screen = SDL_SetVideoMode(width, height, bpp, SDL_SWSURFACE);
SDL_SetColors(screen, palette, 0, 4);
if (screen == NULL) return -1;
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
SDL_UpdateRect(screen, 0, 0, 0, 0);
PrintXY(1, 1, "XXPress AC/ON to start", 0x20, TEXT_COLOR_WHITE);
PrintXY(1, 2, "XXPress Esc to Exit", 0x20, TEXT_COLOR_WHITE);
PrintXY(1, 3, "XXPress 1 for help", 0x20, TEXT_COLOR_WHITE);
Bdisp_PutDisp_DD();
while (!done)
{
while(SDL_PollEvent(&event)) {
if (event.type == SDL_KEYDOWN)
{
switch (event.key.keysym.sym)
{
case SDLK_ESCAPE:
return 0;

case SDLK_POWER:
done = 1;
break;

case SDLK_1:
printCase = 1;
done = 1;
break;

default:
break;
}
}
}
if (SDL_GetTicks() > 10000) return 0;
    }
    SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 255, 255, 255));
    SDL_UpdateRect(screen, 0, 0, 0, 0);
    unsigned char set[25];
    unsigned char choice[25];
    sys_srand(SDL_GetTicks());
    for ( i=0; i<25; i++)
    {
set[i] = sys_rand() % 4;
}
for (i=0; i<25; i++)
{
for (j=0; j<i; j++)
{
memset(screen->pixels, set[j], width*height);
SDL_UpdateRect(screen, 0, 0, 0, 0);
if (set[j] > 3)
return -1;
if (printCase)
{
switch (set[j])
{
case 0:
PrintXY(18, 7, "XXUP", 0, TEXT_COLOR_BLACK);
break;

case 1:
PrintXY(16, 7, "XXRIGHT", 0, TEXT_COLOR_BLACK);
break;

case 2:
PrintXY(16, 7, "XXDOWN", 0, TEXT_COLOR_BLACK);
break;

case 3:
PrintXY(16, 7, "XXLEFT", 0, TEXT_COLOR_BLACK);
break;
}
Bdisp_PutDisp_DD();
}
SDL_Delay(750);
}
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0,0,0));
SDL_UpdateRect(screen, 0,0,0,0);
k=0;
while (k<i)
{
while(SDL_PollEvent(&event)) {
if (event.type == SDL_KEYDOWN)
{
switch (event.key.keysym.sym)
{
case SDLK_UP:
choice[k]=0;
memset(screen->pixels, 0, width*height);
SDL_UpdateRect(screen, 0, 0, 0, 0);

k+=1;
break;

case SDLK_RIGHT:
choice[k]=1;
memset(screen->pixels, 1, width*height);
SDL_UpdateRect(screen, 0, 0, 0, 0);
k+=1;
break;

case SDLK_DOWN:
choice[k]=2;
memset(screen->pixels, 2, width*height);
SDL_UpdateRect(screen, 0, 0, 0, 0);
k+=1;
break;

case SDLK_LEFT:
choice[k]=3;
memset(screen->pixels, 3, width*height);
SDL_UpdateRect(screen, 0, 0, 0, 0);
k+=1;
break;

case SDLK_ESCAPE:
win=0;
i=100;
k=105;
break;


default:
break;
}
}
}
}
for (j=0; j<i; j++)
{
if (set[j] != choice[j])
{
win=0;
i=100;
}
}
}
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0));
SDL_UpdateRect(screen, 0, 0, 0, 0);
if (win == 0) PrintXY(1, 1, "XXSorry You have lost", 0x20, TEXT_COLOR_WHITE);
else PrintXY(1, 1, "XXYou have won the game!", 0x20, TEXT_COLOR_WHITE);
Bdisp_PutDisp_DD();
SDL_Delay(2000);
return 0;
}

EDIT: fixed error where esc could lock up calc



29
Casio Calculators / pSDL v1.0.0
« on: June 15, 2012, 12:30:59 pm »
I have been working on porting nSDL to the prizm so people can write one program to run on both prizm and both nspires. It now even compiles for on calc :D so it should be ready for anyone who wants to to test it. Until it gets to version 1 and I get most bugs out I will not be distributing binaries so you will have to build it. To compile it run make -f Makefile.prizm and it should compile. to install it assumes you built it in the /projects directory of the prizm sdk then run make -f Makefile.prizm install to install it to your prizm sdk

I need people to help me find any errors I might have made and to test the library. If someone could please help me the code is at https://github.com/ruler501/pSDL It now compiles fine and will run if you use a 8 bit surface. malloc seems to fail if it tries to use a 16bpp surface the size of the screen. If someone could please find a way to get malloc working with large values that could allow much more usability

I could not have done this without hoffa's wonderful nSDL. I have copied most of his code and only changed the parts that are platform specific(mainly).

DEMO:

This is a demo of a program called explosion I cannot currently remember where I got it from. Other than removing functions the prizm doesnt support very little work was needed to port it

Attatched is the binaries for version 1.0.0 I will be updating soon since the current version does not support anywhere near the whole keyboard like it should.
pSDL has also moved so that it is now called pSDL on my github instead of still being called nSDL

EDIT:Touched up the entire post to be more concise and orderly

30
Casio Calculators / Prizm Preprocessor symbols
« on: June 11, 2012, 02:14:46 pm »
I was planning on writing a C game that could run on both prizm and nspire and I wanted it to detect which it was being compiled for at build time are there any preprocessor symbols I could use for that?


Pages: 1 [2] 3 4 ... 7