Jump to content
Vorticon

Programming Challenge Competition

Recommended Posts

11 hours ago, unhuman said:

How much memory does your wrapper use?  things looking very tight for me.

I'm not done with it yet. I'll let you know within the next few days.

I also just realized I did not emphasize an important fact: after returning from subroutine 10000, you MUST read MX and MY and use these values as your current mouse coordinates. In other words, your mouse's physical location might change (think portals). This should not have an impact on your algorithms but does make the maze design more interesting and scanning proof.

 

Edited by Vorticon
  • Like 3

Share this post


Link to post
Share on other sites

I'm curious about the portals...  Do they function the same both ways?  It will definitely affect my algorithm.  I don't want to mention why, however...

Edited by unhuman

Share this post


Link to post
Share on other sites
14 minutes ago, unhuman said:

I'm curious about the portals...  Do they function the same both ways?  It will definitely affect my algorithm.  I don't want to mention why, however...

A portal has 2 interconnected gates, so entering one gate will transport you to the other and it's bi-directional. Also the portals will be invisible to your mouse. As far as it's concerned, it would be just another empty space...

Edited by Vorticon
  • Like 2

Share this post


Link to post
Share on other sites
12 hours ago, FarmerPotato said:

Wow, portals. That’s a real curveball. 
 

 

I don't know if they make a difference other than defeating maze scanning. 

Share this post


Link to post
Share on other sites
2 hours ago, Vorticon said:

I don't know if they make a difference other than defeating maze scanning. 

Portals make it easy for you to add many more loops to the maze!

Share this post


Link to post
Share on other sites

Over the weekend, I was able to convert my algorithm from recursive to a loop.  It was pretty simple, actually.  Accounting for the Portals (I don't think it's a no-op) will be my next fun bit.   After that, I've got to convert to BASIC.  Pretty concerned about the tight deadline, but fun being had.

Edited by unhuman
  • Like 1

Share this post


Link to post
Share on other sites

Okay...  Here's my summary.  Portals are definitely not a no-op for how I'm learning the maze.  Also, is it possible for a portal to be located right next to another portal?

Share this post


Link to post
Share on other sites
5 hours ago, unhuman said:

Okay...  Here's my summary.  Portals are definitely not a no-op for how I'm learning the maze.  Also, is it possible for a portal to be located right next to another portal?

No that will not be the case.

  • Like 1

Share this post


Link to post
Share on other sites

I have not yet finished my algorithm, let alone converted it to BASIC. 

 

Edit: Playing with Portals right now.  Wholesale refactor.

 

Edit 2: Maybe I'm overthinking how Portals work...  Is there just one opening by a portal or could there be multiple entries to a portal?    If there's only 1 path, I could probably take (almost) all of my special handling out, like you inferred earlier.  I figured it could be like a black hole, where there could be (up to) 4 different paths into and out of it... 

Edited by unhuman

Share this post


Link to post
Share on other sites
1 hour ago, Vorticon said:

Well that was a resounding success! Not a single entry submitted! 😄

Alright, moving on...

 

Sorry about that. I had every intention of participating, but our bathroom remodel sits squarely in the way:ponder:

 

...lee

  • Like 3

Share this post


Link to post
Share on other sites

I couldn't figure out how my mouse was going to carry the TI-99 and the PEB while running around the maze.  :?

 

😉

  • Like 2
  • Haha 2

Share this post


Link to post
Share on other sites

I am truly disappointed this fell apart.  I will finish my Java implementation and share what I had, but I don't think I'll target TI BASIC "for fun".  Never got an answer for the portal entries / exits question, which was in the 11th hour anyway....  I struggled with how to manage that in a clean way if there were multiples.

Share this post


Link to post
Share on other sites
11 hours ago, unhuman said:

I am truly disappointed this fell apart.  I will finish my Java implementation and share what I had, but I don't think I'll target TI BASIC "for fun".  Never got an answer for the portal entries / exits question, which was in the 11th hour anyway....  I struggled with how to manage that in a clean way if there were multiples.

I thought I did answer your questions. Apologies if that was not clear... 

Share this post


Link to post
Share on other sites

In case anyone is curious, below is the map of the maze for the competition. The + and @ are the portals. The + portal takes you to its + counterpart, same for the @ one.

 

200832096_Mazemap.png.d0e916233b33f8711852f2fa75f9d432.png

Edited by Vorticon
  • Like 3

Share this post


Link to post
Share on other sites

Interesting idea for the competition, having a sample map of a maze (same rules but different maze obviously) would probably have answered many of the questions and helped to get participation up. I was thinking to participate as a fun project, but forgot when the submissions were due...

Share this post


Link to post
Share on other sites

I also lost track of the deadline. I haven’t had any free time since I finished my Phase 1 algorithm. 
 

I really like having programming contests here in the TI forum. 

  • Like 2

Share this post


Link to post
Share on other sites
57 minutes ago, speccery said:

Interesting idea for the competition, having a sample map of a maze (same rules but different maze obviously) would probably have answered many of the questions and helped to get participation up. I was thinking to participate as a fun project, but forgot when the submissions were due...

In retrospect that would indeed have been helpful. 

 

  • Like 2

Share this post


Link to post
Share on other sites
42 minutes ago, oddemann said:

Set a new deadline, summer is over and maybe more people will have time now?

 

Not so sure. This is a very specific type of challenge and not a game to boot, so it will appeal to only a handful here. It's also a rather difficult problem.

Instead of setting a new deadline, I'll let those willing to play with it submit an entry at their leisure, and if I have enough entries (at least a couple) by early Fall, I'll pit them against each other and see who comes out on top. I am back on service next week then I will be out of country for the following 3 weeks, so we'll see by then :)

  • Like 1

Share this post


Link to post
Share on other sites
On 8/5/2021 at 1:51 PM, Vorticon said:

Well that was a resounding success! Not a single entry submitted! 😄

Alright, moving on...

Sorry, but my algorithm would not work with portals. I had no good idea to replace it and continued with my other projects. 

 

Share this post


Link to post
Share on other sites

Wow.  Took me a bit to find the second + (top right).  The multiple entries to the portals would've blown away my planned algorithm.  I also made an incorrect assumption as to where "If you know where the exterior wall is"...  That was a bit misleading.  I was really thinking along the non-traditional way.

 

I'll probably just go back to my recursive Java version and complete that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...