Go to Post A FIRST adage: You can make an Offensive robot play defense more effectively, than you can make a Defensive robot play offense. - Enigma's puzzle [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-10-2014, 00:36
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,661
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: A Coding Club

Quote:
Originally Posted by yash101 View Post
I do not think I will dive into game design too quickly because that requires
A) A lot of math
B) OpenGL and it's alternatives require a ton of pointers and stuff that I am not very fluent with
Oh? Without even knowing what OpenGL is, I've coded a game. In C++. Without using very much math at all.

Admittedly, writing the code for Yahtzee in a text window isn't as nice-looking as something like Solitaire, or something similar. But coding a game (or a vote-counting program, or something similar) can actually be a fairly simple exercise. In my introductory (OK, college-level introductory) programming class, we had three major class projects and some labs. I've mentioned two of the three major projects above; I'll have to dig out the third one if I can find some time and the files.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #2   Spotlight this post!  
Unread 06-10-2014, 01:16
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: A Coding Club

Quote:
Originally Posted by EricH View Post
Oh? Without even knowing what OpenGL is, I've coded a game. In C++. Without using very much math at all.

Admittedly, writing the code for Yahtzee in a text window isn't as nice-looking as something like Solitaire, or something similar. But coding a game (or a vote-counting program, or something similar) can actually be a fairly simple exercise. In my introductory (OK, college-level introductory) programming class, we had three major class projects and some labs. I've mentioned two of the three major projects above; I'll have to dig out the third one if I can find some time and the files.
I have written a couple games without OpenGL. However, they were crappy
Brick Breaker with one level
Yahtzee, one computer, multiple players rotating. Comes with bugs too!
A couple more crappy games.
Also, all my games were written in Java, using the ACM library, so it is quite pointless to use those in class. I guess that maybe I could switch back to Windows and get used to it's display manager.

I am learning a library, DLib, which comes with cross-platform display tools, like a widget-based window system.

It is quite simple to use this in conjunction with OpenCV, so maybe I may dive into these much deeper.

As good as HighGUI is, it lacks many essential components, such as threading to prevent your display from freezing. It is also not easy to implement a button or similar.

I still haven't been able to figure out QT. It changed significantly with QT5 so I cannot find any of the headers used by the tutorials I go by! It would be much more in my plate if I were teaching what I am learning.
I have experienced that where I volunteer, where I had two training sessions and I was training someone else! I do not want to do the same thing with these middle schoolers and have them develop a scorn for coding!

OpenCV: I just may begin with OpenCV because it isn't TOO hard, but allows you to do extremely neat things!
  #3   Spotlight this post!  
Unread 06-10-2014, 01:26
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: A Coding Club

I too have started a coding club at my school this year. Our goal is to make software and apps, which will be worked on as a team using Git, and then we will publish them.
On our team, it's kind of a prerequisite that you know some Java I'm order to be of help with the code. I don't suspect that we'll be teaching the basics of java, but we'll talk about the more advanced aspects of software development, like for android apps.
However, we're having some trouble convincing the school to let us publish the software... I dont fully understand their reasoning, but I think they're afraid of offensive content and such that could poorly reflect on the school. Quite absurd in my opinion.

Anyway, icebreakers.... I can't really help you with that; we didn't do any such thing at the first meeting. We just went through an introductory presentation about the team, collected information about the new members (8 total including myself), and then went right to brainstorming ideas for our first simple project. Took about an hour overall.
__________________
Head Programmer / Driver
  #4   Spotlight this post!  
Unread 06-10-2014, 01:52
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: A Coding Club

Quote:
Originally Posted by cjl2625 View Post
I too have started a coding club at my school this year. Our goal is to make software and apps, which will be worked on as a team using Git, and then we will publish them.
On our team, it's kind of a prerequisite that you know some Java I'm order to be of help with the code. I don't suspect that we'll be teaching the basics of java, but we'll talk about the more advanced aspects of software development, like for android apps.
However, we're having some trouble convincing the school to let us publish the software... I dont fully understand their reasoning, but I think they're afraid of offensive content and such that could poorly reflect on the school. Quite absurd in my opinion.

Anyway, icebreakers.... I can't really help you with that; we didn't do any such thing at the first meeting. We just went through an introductory presentation about the team, collected information about the new members (8 total including myself), and then went right to brainstorming ideas for our first simple project. Took about an hour overall.
I guess you could try by getting an application ready to deploy, and then use it to prove to the school how there is nothing wrong with it. I can only see that it can start raising money. There's nothing wrong with that, at least if the school rules are followed.

If I were to put a prerequisite, there would be almost no one in the club. Last meeting, we successfully installed Linux. It was the first time for most of the students!
  #5   Spotlight this post!  
Unread 06-10-2014, 06:53
vladtheimpaled's Avatar
vladtheimpaled vladtheimpaled is offline
Registered User
FRC #0810 (The Mechanical Bulls)
Team Role: Electrical
 
Join Date: Mar 2014
Rookie Year: 2014
Location: smithown
Posts: 40
vladtheimpaled is an unknown quantity at this point
Wink Re: A Coding Club

I wanted to create a coding club in my school but my school would never allow because they're afraid of it creating new hackers. One of the hackers just graduated last year. The last thing they want is a new one to troll IT.
  #6   Spotlight this post!  
Unread 06-10-2014, 14:40
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: A Coding Club

Quote:
Originally Posted by vladtheimpaled View Post
I wanted to create a coding club in my school but my school would never allow because they're afraid of it creating new hackers. One of the hackers just graduated last year. The last thing they want is a new one to troll IT.
That's a misconception I do not enjoy clearing up about people who program. That we can "hack" anything at the flick of a finger. Most the time the term "hacking" is misused anyways, but people don't want to say "network penetration." Yeah, once you know what you're doing in Kali, it isn't that hard to get into networks or crack wifi passwords.

If anything, you could maybe have a form all the students in the club have to sign to be in it that they will not cause damage to property. But it's not like you'd be teaching them Kali linux. At best you'd be able to make a robot follow a line with a group of people who have never programmed before in their life.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
  #7   Spotlight this post!  
Unread 06-10-2014, 14:46
markmcgary's Avatar
markmcgary markmcgary is online now
Software Mentor
FRC #4322 (Clockwork Oranges)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Fullerton, CA
Posts: 164
markmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nice
Re: A Coding Club

Here is an idea for an activity for a coding club.

Operation: Code Clash
  #8   Spotlight this post!  
Unread 06-10-2014, 23:17
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: A Coding Club

Quote:
Originally Posted by vladtheimpaled View Post
I wanted to create a coding club in my school but my school would never allow because they're afraid of it creating new hackers. One of the hackers just graduated last year. The last thing they want is a new one to troll IT.
You could show some of the documents at sites like collegeboard and other credible sources that show how important CS is for students.

Launching a coding club is FAR cheaper than launching an entire new class for CS. Who knows, if it works exceptionally well, it might get much more funding from the school and maybe even a CS class might be started!
  #9   Spotlight this post!  
Unread 07-10-2014, 09:39
krieck's Avatar
krieck krieck is online now
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: A Coding Club

One possibility for an icebreaker would be to play Fizz-Buzz. Go around the group counting off, but if the number is divisible by 3 say "Fizz". If it's divisible by 5 say "Buzz". If both, say "Fizz-Buzz".

I've heard this described as a child's game, but I remember it as a college drinking game. Screw up, and you take a drink.

For a programming challenge, try writing code that prints out the Fizz-Buzz sequence. This is not really difficult, but it's a couple steps up from "Hello World". Implementing it requires students to write a loop, understand conditionals, and how to take the modulus of a number. Students who finish first can help out others who are struggling.

Fizz-Buzz has been used for screening job applicants. Take a look at: http://blog.codinghorror.com/why-can...mmers-program/
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi