Numbers Guessing Game
Your Numbers Game
Get
clueYour
answerYour
ScoreClue? Score 0/0
-
Recent Posts
- PHP Exif Quiz Geographicals Tutorial
- PHP Exif Quiz Tutorial
- PHP Exif Retention off iPhone Images Tutorial
- List to Grid Layout CSS Media Query Tutorial
- List to Grid Layout Primer Tutorial
- Out and About WordPress Blog Content Tweaks Just with iPhone Tutorial
- Command Line History By Date Tutorial
- Overseas Travel Global Roaming Mobile Primer Tutorial
Categories
- Ajax
- Android
- Animation
- Anything You Like
- Code::Blocks
- Coding
- Colour Matching
- Data Integration
- Database
- Delphi
- Eclipse
- eLearning
- ESL
- Event-Driven Programming
- Games
- GIMP
- GUI
- Hardware
- Installers
- iOS
- Land Surveying
- Moodle
- Music Poll
- NetBeans
- Networking
- News
- Not Categorised
- OOP
- Operating System
- Photography
- Projects
- Signage Poll
- Software
- SpectroPhotometer
- Tiki Wiki
- Trips
- Tutorials
- Uncategorized
- Visual Studio
- Xcode
Meta
Tags
Ajax animation background button canvas command line CSS Did you know DOM dropdown email emoji event form game Google Google chart hashtag HTML IFRAME image iOS Javascript MAMP media mobile navigation onclick overlay PHP popup programming select share sharing SMS SVG table text textarea tutorial url video web browser webpageYour Background Image
OnTopList
Tag Archives: geometry
HTML Canvas Perfect T Game Primer Tutorial
The HTML Canvas element is great for mathematical games especially where you draw your own graphics based on interaction from the user. Today’s game‘s geometrical theme tests whether the user can mimic the drawing of a diameter line across a circle … doesn’t sound hard, does it? But are things as easy as that? Where you have the scenario in mathematics of a line touching a circle just the once, this is called a tangent. Today we draw you a tangent point, and that represents the middle of the top of the “Perfect T” we want you to draw, where the two user defined points draw the “T” that has two lines of equal length, meeting at right angles and not overshooting or falling short of the mark. Here is the HTML programming source code for today’s tutorial you could call perfectt.html There is functionality in this game to email a snapshot of the game and the PHP programming source code that helps facilitate this functionality for today’s tutorial you could call perfectt.php See for yourself if it is as easy as it sounds … you start with 3000 points and see how many goes you can have surviving with a positive score here. If this was interesting you may be interested in this too.
Posted in eLearning, Event-Driven Programming, Games, Tutorials
Tagged canvas, circle, data url, diameter, game, games, geometry, HTML, Javascript, mathematics, onload, programming, tangent, tutorial
14 Comments
Java Swing Line Graph Primer Tutorial
Sort of miss Java Applets, myself, as they were once “the thing” for some people writing code for the web. You got used to paint() and repaint() methods because you could imagine, word for word, codewise, what was happening. So here is another tutorial that uses Swing functionality in Java to create a GUI (Graphical User Interface) desktop program on a Mac laptop (but same code may well work, compiled on a Windows laptop (the same way)) that harkens back to those Java Applet ideas drawing graphics (we even use “repaint()” … yay) that is a simple Java JFrame object, graphics for a Line Graph, accepting co-ordinate input from the (Linux) command line arguments or taking this interactively via the JOptionPane showInputDialog() method, and then, optionally, later you can add to your Line Graph via mouse clicks understood as vertices of the one continuous line you are creating … in other words, not scribble, that would require different logic, but not that much more difficult or involved logic actually … would just involve some intervention with the onmousemove event function. Some of the points of interest, and you may want to see our previous relevant Java Swing JTree Primer Tutorial as shown below, as well, are: Is a desktop Java application that uses a Java Swing JFrame GUI framework Is a desktop Java application that uses a Java Swing JPanel GUI object Is a desktop Java application that uses a Java Swing JOptionPane showInputDialog() method to obtain the interactive input required It implements Mouse event functionality via MouseListener It uses a kludgy-feeling approach to drawLine() work by drawing the one line with five drawLine() calls to give the impression of a thicker line Download programming source code and rename to LineChart.java that has the very simple command line compilation procedure: javac LineChart.java java LineChart Of great help was this link and this link … and the general idea and code ideas also came from Developing Java Entertainment Applets by John Withers … thanks heaps. Previous relevant Java Swing JTree Primer Tutorial is shown below. Here is another tutorial that uses Swing functionality in Java to create a GUI (Graphical User Interface) desktop program on a Mac laptop (but same code may well work, compiled on a Windows laptop (the same way)) that tests the use of a simple Java JTree object, adding to the thought processes, perhaps, of the previous Java Swing Sound Primer Tutorial as shown below. Some of the points of interest, and you may want to see our previous relevant Java Swing Desktop Primer Tutorial as shown below, as well, are: Is a desktop Java application that uses a Java Swing JFrame GUI framework It uses a private JTree object in which to store the hierarchical data … in our case the lineage (up to 5 generations) of Falleur’s Nelson the Golden Retriever … yes, dog … Continue reading
Posted in eLearning, Event-Driven Programming, GUI, Tutorials
Tagged Applet, command line, desktop, geometry, graph, Java, JFrame, JPanel, line chart, line graph, Linux, mouse, MouseListener, plot, programming, Swing, tutorial
Leave a comment
PHP/Javascript SVG Primer Tutorial
The HTML5 specification allows for the display of 2D-graphics via SVG HTML tags which use graphical applications in XML and the XML is then rendered by an SVG viewer. SVG stands for Scalable Vector Graphics. We’ve talked about the HTML canvas element as another means to come to this end, but the SVG methods are more straightforward in their creation. For today’s tutorial we follow the advice at this wonderful tutorial and wrap it in PHP, so that you can specify your own parameters. Hope you find it very useful, and easy. This demonstrates to you that if you have some great static HTML you can keep that great static content and present a dynamic version the user can play around with, and learn from, by adding that PHP server-side content. For today’s PHP interface we got the HTML to use an HTML form of the relevant shape’s characteristics and post this data back to the same PHP webpage, analyzing the $_POST[] data to fill in the static HTML parameter values with user-defined parameter alternatives. Today we have PHP and Javascript programmable source code you could call SVG_Primer.php and here is its live run. If this was interesting you may be interested in this too.
Posted in eLearning, Tutorials
Tagged canvas, geometry, HTML, Javascript, PHP, programming, SVG, tutorial
Leave a comment


Thanks. Since then, a Shower Songs project at https://www.rjmprogramming.com.au/HTMLCSS/shower_songs.html is an improvement regarding "Radio Play" on mobile platforms.