| | There's still time to get your entries in for Challenge 33 as I won't be marking it until next Monday, April 5. Challenge 34 has now been published and asks you to move numbers on a 10 x 10 grid to form a straight line. Details below. This week, starting today I'm publishing "Ways to make money programming", a blog post each day for a week on a different aspect of programming for money. If I've missed your favorite tell me! Email to cplus.guide@about.com. Have a profitable week! | | Oolite - Open Source Elite Clone After mentioning NAEV last week, I came across OOlite which is a cross platform clone of the original Elite. It's accurate down to the ships, the commander's name and even the Blue Danube music! If you don't "get" the ship docking to the theme of the Blue Danube, watch the film 2001 if you get a chance. it's a genuine Sci-Fi film cliche! Using open source components such as SDL, zlib, jpeg,libpng, libogg etc, the binaries plus resources only add up to 30MB. If you want to try playing with the sources of a pretty simple game this is a good starting point. | Programming Challenge 34 - Complete Straight Lines Just a few days to get your entry for Challenge 33 in with a slightly stretched deadline now of April 5th as it's a holiday weekend. Meanwhile the new challenge is live and it's about a simple board board game on a 10 x 10 grid. Each cell has a random digit 0-3 and there are 25 of each digit. After rolling a dice you get to make 1-4 moves swapping the numbers between adjacent cells either diagonally or laterally (horizontal or vertical) according to the dice roll. The point is to make the moves so you end up with a straight line of 10 digits all the same (which digit doesn't matter) running vertically, horizontally or diagonally. That's it. Full instructions in the challenge below. | OpenGL Reaches 4.0 + OpenTK Currently only supported by one set of graphics cards, OpenGL reached 4.0 about two weeks ago. It's one of a set of open APIs that are published by the Khronos Group, a consortium of about 100 member groups. Given my past Windows centric view of the world, I've been more into the DirectX world as espoused by Microsoft but with non Microsoft mobile devices such as the iPhone having an embedded version of OpenGL (OpenGL ES), I've been looking more in this direction. OpenGL lets you render graphic scenes in code. There's also a high level shading language GLSL that is C/C++ like for coding shaders. Microsoft have their own HLSL language for Direct3D. If you're a .NET or Mono C# developer interested in OpenGL, OpenGL ES, OpenCL (Computation) and OpenAL (Audio Library) there is an open source C# toolkit that you might find interesting. It's currently at release candidate 1 so not far off the final version 1.0 release. It also includes a lot of extra stuff such as GameWindow, GlWidgets, 32 and 64 bit, 3D math toolkit, and several APIs for Input and Display. | Code Library for C, C++ and C# The Code Library with source code for all examples and free downloads for this topic. | | | | C / C++ / C# Ads | | | | Featured Articles | | | | | More from About.com | | | | | | Disney Trip Planner Everything you need to plan the perfect Disney vacation -- from when to go and what to do, to saving money and picking a hotel. More >
| | | | Join About.com's User Panel! Share your opinions and help us make make About.com more relevant, informative and enjoyable to use. More>
| | | | | Sign up for more free newsletters on your favorite topics | | | | You are receiving this newsletter because you subscribed to the About C / C++ / C# newsletter. If you wish to change your email address or unsubscribe, please click here. About respects your privacy: Our Privacy Policy Contact Information: 249 West 17th Street New York, NY, 10011 © 2010 About.com | | | | | Must Reads | | Advertisement | |
No comments:
Post a Comment